diff options
author | zaaarf <me@zaaarf.foo> | 2023-12-10 23:15:41 +0100 |
---|---|---|
committer | zaaarf <me@zaaarf.foo> | 2023-12-10 23:15:41 +0100 |
commit | 4ef33d4df6198e613b0f27406d49978c8ea2fb97 (patch) | |
tree | 7f07835485b877f3c01c52c188892499e5812f9b /src/openvic-simulation/history/Bookmark.hpp | |
parent | 1eb28bd4fb959b69a30013f6438f0257a2ee7b03 (diff) |
feat: improved identifier registry macro
Diffstat (limited to 'src/openvic-simulation/history/Bookmark.hpp')
-rw-r--r-- | src/openvic-simulation/history/Bookmark.hpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/openvic-simulation/history/Bookmark.hpp b/src/openvic-simulation/history/Bookmark.hpp index 18375fb..7401105 100644 --- a/src/openvic-simulation/history/Bookmark.hpp +++ b/src/openvic-simulation/history/Bookmark.hpp @@ -30,17 +30,13 @@ namespace OpenVic { struct BookmarkManager { private: - IdentifierRegistry<Bookmark> bookmarks; + IdentifierRegistry<Bookmark> IDENTIFIER_REGISTRY(bookmark); public: - BookmarkManager(); - bool add_bookmark( std::string_view name, std::string_view description, Date date, uint32_t initial_camera_x, uint32_t initial_camera_y ); - IDENTIFIER_REGISTRY_ACCESSORS(bookmark) - bool load_bookmark_file(ast::NodeCPtr root); }; } |