summaryrefslogtreecommitdiff
path: root/libs/pbd/pbd/stateful.h
diff options
context:
space:
mode:
authorTim Mayberry <mojofunk@gmail.com>2007-06-17 00:52:32 +0000
committerTim Mayberry <mojofunk@gmail.com>2007-06-17 00:52:32 +0000
commitdfbda70cea1004efd908647ab766828ae5570be3 (patch)
treed77d0361209404a69ade3a80875e5b0ffa1e6cb8 /libs/pbd/pbd/stateful.h
parent36291eb399316b01bf7d23137eb9b9a3bad6998d (diff)
Modify PBD::Stateful::add_instant_xml/instant_xml to take a PBD::sys::path instead of a string
git-svn-id: svn://localhost/ardour2/trunk@2013 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/pbd/pbd/stateful.h')
-rw-r--r--libs/pbd/pbd/stateful.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/libs/pbd/pbd/stateful.h b/libs/pbd/pbd/stateful.h
index 6866450cd2..8ea647475a 100644
--- a/libs/pbd/pbd/stateful.h
+++ b/libs/pbd/pbd/stateful.h
@@ -27,6 +27,10 @@ class XMLNode;
namespace PBD {
+namespace sys {
+ class path;
+}
+
class Stateful {
public:
Stateful();
@@ -45,8 +49,8 @@ class Stateful {
protected:
- void add_instant_xml (XMLNode&, const std::string& dir);
- XMLNode *instant_xml (const std::string& str, const std::string& dir);
+ void add_instant_xml (XMLNode&, const sys::path& directory_path);
+ XMLNode *instant_xml (const std::string& str, const sys::path& directory_path);
XMLNode *_extra_xml;
XMLNode *_instant_xml;