void
delete_mackie_protocol (ControlProtocolDescriptor* descriptor, ControlProtocol* cp)
{
void
delete_mackie_protocol (ControlProtocolDescriptor* descriptor, ControlProtocol* cp)
{
+ try
+ {
+ delete cp;
+ }
+ catch ( exception & e )
+ {
+ cout << "Exception caught trying to destroy MackieControlProtocol: " << e.what() << endl;
+ }
+/**
+ This is called on startup to check whether the lib should be loaded.
+
+ So anything that can be changed in the UI should not be used here to
+ prevent loading of the lib.
+*/
bool
probe_mackie_protocol (ControlProtocolDescriptor* descriptor)
{
bool
probe_mackie_protocol (ControlProtocolDescriptor* descriptor)
{
ptr : 0,
module : 0,
mandatory : 0,
ptr : 0,
module : 0,
mandatory : 0,
- supports_feedback : true,
+ supports_feedback : false,
probe : probe_mackie_protocol,
initialize : new_mackie_protocol,
destroy : delete_mackie_protocol
probe : probe_mackie_protocol,
initialize : new_mackie_protocol,
destroy : delete_mackie_protocol