aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/history/HistoryManager.hpp
blob: bec5359af097e6bd28f863e1cb79ce995ddf9fba (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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);
      }
   };
}