diff options
author | George L. Albany <Megacake1234@gmail.com> | 2023-10-13 17:13:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-13 17:13:27 +0200 |
commit | 17847e16e14ec52eb48a6fd0d9dc36ee93e457db (patch) | |
tree | 01e8f55c5327ee3b0796bb1d1e6e616331abee13 /src/openvic-simulation/history/HistoryManager.hpp | |
parent | 32fdf7c38b2e56339a2fffa71a7a61a854759e2c (diff) | |
parent | a93b0d8f268fbf04c09ee73e5b2923a610667fcf (diff) |
Merge pull request #46 from OpenVicProject/add/bookmark-loading
Diffstat (limited to 'src/openvic-simulation/history/HistoryManager.hpp')
-rw-r--r-- | src/openvic-simulation/history/HistoryManager.hpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/openvic-simulation/history/HistoryManager.hpp b/src/openvic-simulation/history/HistoryManager.hpp new file mode 100644 index 0000000..bec5359 --- /dev/null +++ b/src/openvic-simulation/history/HistoryManager.hpp @@ -0,0 +1,18 @@ +#pragma once + +#include "openvic-simulation/history/Bookmark.hpp" +#include "openvic-simulation/types/IdentifierRegistry.hpp" + +namespace OpenVic { + struct HistoryManager { + private: + BookmarkManager bookmark_manager; + + public: + REF_GETTERS(bookmark_manager) + + inline bool load_bookmark_file(ast::NodeCPtr root) { + return bookmark_manager.load_bookmark_file(root); + } + }; +} |