Call PBD::EnumWriter::destroy in ARDOUR::cleanup (from
[ardour.git] / libs / surfaces / mackie / button.h
index 7e36ac76e5cf31f61239ffe2a197c5eaddb5c948..b90f4b21a3c2c5ec4011e75fd442804ddd9e440d 100644 (file)
@@ -102,8 +102,6 @@ public:
                Scrub,
                UserA,
                UserB,
-               Assign1,
-               Assign2,
                Snapshot,
                Read,
                Write,
@@ -122,12 +120,14 @@ public:
                Trim,
                Latch,
                Grp,
-               Nudge, 
+               Nudge,
                Drop,
                Replace,
                Click,
                View,
 
+               FinalGlobalButton,
+
                /* Strip buttons */
                
                RecEnable,
@@ -151,6 +151,7 @@ public:
        
        static Control* factory (Surface& surface, Button::ID bid, int id, const std::string&, Group& group);
        static int name_to_id (const std::string& name);
+       static std::string id_to_name (Button::ID);
 
 private:
        ID  _bid; /* device independent button ID */