diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2006-01-08 02:56:49 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2006-01-08 02:56:49 +0000 |
commit | a20f41ab39cc034740ccd564c1057d8737d763d5 (patch) | |
tree | 6f713470d72ec04ad03efb1ad6380717476c29fd /libs/ardour/ardour/state_manager.h | |
parent | 1186b1d881fac3d1d1b55954b84b958c988501c4 (diff) |
a metric ton of changes
git-svn-id: svn://localhost/trunk/ardour2@246 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/state_manager.h')
-rw-r--r-- | libs/ardour/ardour/state_manager.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libs/ardour/ardour/state_manager.h b/libs/ardour/ardour/state_manager.h index faedc120ee..105ca38dcc 100644 --- a/libs/ardour/ardour/state_manager.h +++ b/libs/ardour/ardour/state_manager.h @@ -3,6 +3,7 @@ #include <list> #include <string> +#include <vector> #include <sigc++/signal.h> @@ -35,7 +36,14 @@ class StateManager : public sigc::trackable state_id_t _current_state_id; + static void set_allow_save (bool); + static bool allow_save (); + protected: + static bool _allow_save; + typedef std::pair<StateManager*,std::string> DeferredSave; + static std::vector<DeferredSave> deferred; + StateMap states; virtual Change restore_state (State&) = 0; |