#define __pbd_stateful_h__
#include <string>
-#include <pbd/id.h>
+#include "pbd/id.h"
class XMLNode;
virtual XMLNode& get_state (void) = 0;
- virtual int set_state (const XMLNode&) = 0;
+ virtual int set_state (const XMLNode&, int version) = 0;
/* Extra XML nodes */
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);