summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/configuration.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/ardour/ardour/configuration.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/ardour/ardour/configuration.h')
-rw-r--r--libs/ardour/ardour/configuration.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/ardour/ardour/configuration.h b/libs/ardour/ardour/configuration.h
index c63af0a4cf..91a1d04714 100644
--- a/libs/ardour/ardour/configuration.h
+++ b/libs/ardour/ardour/configuration.h
@@ -61,6 +61,11 @@ class Configuration : public PBD::Stateful
int load_state ();
int save_state ();
+ /// calls Stateful::*instant_xml methods using
+ /// ARDOUR::get_user_ardour_path for the directory
+ void add_instant_xml (XMLNode&);
+ XMLNode * instant_xml (const std::string& str);
+
int set_state (const XMLNode&);
XMLNode& get_state (void);
XMLNode& get_variables (sigc::slot<bool,ConfigVariableBase::Owner>, std::string which_node = "Config");