summaryrefslogtreecommitdiff
path: root/libs/pbd/pbd/stateful.h
diff options
context:
space:
mode:
authorTim Mayberry <mojofunk@gmail.com>2007-06-17 00:47:40 +0000
committerTim Mayberry <mojofunk@gmail.com>2007-06-17 00:47:40 +0000
commit36291eb399316b01bf7d23137eb9b9a3bad6998d (patch)
treedd48e3de88534110fb304978da6ea6e82fba3748 /libs/pbd/pbd/stateful.h
parent4b95621853072c44b1df698df8a96d7d9167319f (diff)
Make Stateful::*instant_xml methods protected and non-virtual
Add add_instant_xml and instant_xml methods to the Session class which call the corresponding Stateful methods with the session directory for the directory argument Add add_instant_xml and instant_xml methods to the Configuration class which call the Stateful methods with ARDOUR::get_user_ardour_path() for the directory argument git-svn-id: svn://localhost/ardour2/trunk@2012 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/pbd/pbd/stateful.h')
-rw-r--r--libs/pbd/pbd/stateful.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/libs/pbd/pbd/stateful.h b/libs/pbd/pbd/stateful.h
index fed078c802..6866450cd2 100644
--- a/libs/pbd/pbd/stateful.h
+++ b/libs/pbd/pbd/stateful.h
@@ -41,11 +41,13 @@ class Stateful {
void add_extra_xml (XMLNode&);
XMLNode *extra_xml (const std::string& str);
- virtual void add_instant_xml (XMLNode&, const std::string& dir);
- XMLNode *instant_xml (const std::string& str, const std::string& dir);
const PBD::ID& id() const { return _id; }
protected:
+
+ void add_instant_xml (XMLNode&, const std::string& dir);
+ XMLNode *instant_xml (const std::string& str, const std::string& dir);
+
XMLNode *_extra_xml;
XMLNode *_instant_xml;
PBD::ID _id;