properly namespace hacked OSC callbacks, add some notes.
[ardour.git] / libs / surfaces / mackie / interface.cc
index abef84817d4cbf58e48023cd6f5bacc8044b4fd5..1a9760bcbea7461428a9ffccc5d7869a2ef3c2a8 100644 (file)
 using namespace ARDOUR;
 using namespace PBD;
 using namespace std;
+using namespace ArdourSurface;
+using namespace Mackie;
 
 static ControlProtocol*
 new_mackie_protocol (ControlProtocolDescriptor*, Session* s)
 {
        MackieControlProtocol* mcp = 0;
-       
+
        try {
                mcp = new MackieControlProtocol (*s);
                /* do not set active here - wait for set_state() */
@@ -43,7 +45,7 @@ new_mackie_protocol (ControlProtocolDescriptor*, Session* s)
                delete mcp;
                mcp = 0;
        }
-       
+
        return mcp;
 }
 
@@ -88,6 +90,6 @@ static ControlProtocolDescriptor mackie_descriptor = {
        /*initialize :        */   new_mackie_protocol,
        /*destroy :           */   delete_mackie_protocol
 };
-       
+
 
 extern "C" ARDOURSURFACE_API ControlProtocolDescriptor* protocol_descriptor () { return &mackie_descriptor; }