Use lwrcase_dirname for desktop file names and substitutions.
[ardour.git] / gtk2_ardour / gui_object.h
index dd56f4b34ca44ff8229aa478498d79ff41f9d8f8..39cf579fb5def7108a17a9bdaade0a2d1ac7df4a 100644 (file)
@@ -28,8 +28,6 @@
 #include "pbd/xml++.h"
 #include "pbd/id.h"
 
-#include "i18n.h"
-
 class GUIObjectState
 {
 public:
@@ -43,7 +41,7 @@ public:
 
        std::string get_string (const std::string& id, const std::string& prop_name, bool* empty = 0);
 
-       template<typename T> void set (const std::string& id, const std::string& prop_name, const T& val) {
+       template<typename T> void set_property (const std::string& id, const std::string& prop_name, const T& val) {
                XMLNode* child = get_or_add_node (id);
                std::stringstream s;
                s << val;
@@ -55,7 +53,9 @@ public:
        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;
 };