X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=gtk2_ardour%2Fgui_object.h;h=dd56f4b34ca44ff8229aa478498d79ff41f9d8f8;hb=cbfe2f2fa56bd44536e1dbf9dbd3419b5be5f535;hp=694a5e9212cdb7d4b99b5d4e100751d757085afa;hpb=3c7f9586aec6d1e26966c4b836fb2ee9505e0146;p=ardour.git diff --git a/gtk2_ardour/gui_object.h b/gtk2_ardour/gui_object.h index 694a5e9212..dd56f4b34c 100644 --- a/gtk2_ardour/gui_object.h +++ b/gtk2_ardour/gui_object.h @@ -34,15 +34,13 @@ class GUIObjectState { public: GUIObjectState (); - + XMLNode& get_state () const; int set_state (const XMLNode&); static const std::string xml_node_name; void load (const XMLNode&); - GUIObjectState& operator= (const GUIObjectState& other); - std::string get_string (const std::string& id, const std::string& prop_name, bool* empty = 0); template void set (const std::string& id, const std::string& prop_name, const T& val) { @@ -59,7 +57,6 @@ public: static XMLNode* get_or_add_node (XMLNode *, const std::string &); private: - XMLNode _state; };