Clean up ctrl surface API

Remove unused fields, no mandatory surfaces
This commit is contained in:
Robin Gareus 2023-05-01 02:22:45 +02:00
parent 0b355c0412
commit 847f1e54c1
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
20 changed files with 6 additions and 100 deletions

View file

@ -173,10 +173,7 @@ class ControlProtocolDescriptor
public:
const char* name; /* descriptive */
const char* id; /* unique and version-specific */
void* ptr; /* protocol can store a value here */
void* module; /* not for public access */
int mandatory; /* if non-zero, always load and do not make optional */
bool supports_feedback; /* if true, protocol has toggleable feedback mechanism */
bool (*probe) (ControlProtocolDescriptor*);
ControlProtocol* (*initialize) (ControlProtocolDescriptor*, Session*);
void (*destroy) (ControlProtocolDescriptor*, ControlProtocol*);