Query backend’s setup_required() every time. fixes #6041
[ardour.git] / gtk2_ardour / gui_object.h
index 469d311485dfe592a5ab3dcbe664a71b0c4e5731..aff025b2d5a55b4f93c6212094491eeec899151f 100644 (file)
@@ -28,8 +28,6 @@
 #include "pbd/xml++.h"
 #include "pbd/id.h"
 
-#include "i18n.h"
-
 class GUIObjectState
 {
 public:
@@ -49,12 +47,14 @@ public:
                s << val;
                child->add_property (prop_name.c_str(), s.str());
        }
-
+    
        std::list<std::string> all_ids () const;
 
        static XMLNode* get_node (const XMLNode *, const std::string &);
        XMLNode* get_or_add_node (const std::string &);
        static XMLNode* get_or_add_node (XMLNode *, const std::string &);
+    
+       void remove_node (const std::string& id);
        
   private:
        XMLNode _state;