summaryrefslogtreecommitdiff
path: root/libs/pbd/pbd/stateful.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/pbd/pbd/stateful.h')
-rw-r--r--libs/pbd/pbd/stateful.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/libs/pbd/pbd/stateful.h b/libs/pbd/pbd/stateful.h
index 324d9c1222..0204c8084a 100644
--- a/libs/pbd/pbd/stateful.h
+++ b/libs/pbd/pbd/stateful.h
@@ -38,7 +38,7 @@ class Stateful {
virtual XMLNode& get_state (void) = 0;
- virtual int set_state (const XMLNode&, int version = 3000) = 0;
+ virtual int set_state (const XMLNode&, int version) = 0;
/* Extra XML nodes */
@@ -47,6 +47,9 @@ class Stateful {
const PBD::ID& id() const { return _id; }
+ static int current_state_version;
+ static int loading_state_version;
+
protected:
void add_instant_xml (XMLNode&, const sys::path& directory_path);