diff options
Diffstat (limited to 'src/crepe/manager/SystemManager.h')
-rw-r--r-- | src/crepe/manager/SystemManager.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/crepe/manager/SystemManager.h b/src/crepe/manager/SystemManager.h index 5726a5c..6cf7f2b 100644 --- a/src/crepe/manager/SystemManager.h +++ b/src/crepe/manager/SystemManager.h @@ -48,6 +48,12 @@ public: */ template <class T> T & get_system(); + +public: + typedef std::unordered_map<std::type_index, bool> Snapshot; + Snapshot save(); + void restore(const Snapshot & snapshot); + void disable_all(); }; } // namespace crepe |