aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/history/HistoryManager.hpp
blob: e0d68775432c03c2e18eb9dc6e267f84c4e8896c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#pragma once

#include "openvic-simulation/history/Bookmark.hpp"
#include "openvic-simulation/history/CountryHistory.hpp"
#include "openvic-simulation/types/IdentifierRegistry.hpp"

namespace OpenVic {
   struct HistoryManager {
   private:
      BookmarkManager bookmark_manager;
      CountryHistoryManager country_manager;

   public:
      REF_GETTERS(bookmark_manager)
      REF_GETTERS(country_manager)

      inline bool load_bookmark_file(ast::NodeCPtr root) {
         return bookmark_manager.load_bookmark_file(root);
      }
   };
}