aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/history/Bookmark.cpp
diff options
context:
space:
mode:
author Hop311 <Hop3114@gmail.com>2023-11-22 23:11:42 +0100
committer GitHub <noreply@github.com>2023-11-22 23:11:42 +0100
commita54898b7770e0d66b729216173960686c67e58bb (patch)
treeaf8ed836a4789ef94c5bfed27abb713922f45af3 /src/openvic-simulation/history/Bookmark.cpp
parente76336cd92639f4ec71088fc4c80aea4c25528cd (diff)
parent738a203e0d8b4df87c42888043b99c13d5d97511 (diff)
Merge pull request #78 from OpenVicProject/property-macro
Refactoring (*mostly* related to the property macro)
Diffstat (limited to 'src/openvic-simulation/history/Bookmark.cpp')
-rw-r--r--src/openvic-simulation/history/Bookmark.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/openvic-simulation/history/Bookmark.cpp b/src/openvic-simulation/history/Bookmark.cpp
index 92d8de5..483b49b 100644
--- a/src/openvic-simulation/history/Bookmark.cpp
+++ b/src/openvic-simulation/history/Bookmark.cpp
@@ -17,26 +17,6 @@ Bookmark::Bookmark(
) : HasIdentifier { std::to_string(new_index) }, name { new_name }, description { new_description }, date { new_date },
initial_camera_x { new_initial_camera_x }, initial_camera_y { new_initial_camera_y } {}
-std::string_view Bookmark::get_name() const {
- return name;
-}
-
-std::string_view Bookmark::get_description() const {
- return description;
-}
-
-Date Bookmark::get_date() const {
- return date;
-}
-
-uint32_t Bookmark::get_initial_camera_x() const {
- return initial_camera_x;
-}
-
-uint32_t Bookmark::get_initial_camera_y() const {
- return initial_camera_y;
-}
-
BookmarkManager::BookmarkManager() : bookmarks { "bookmarks" } {}
bool BookmarkManager::add_bookmark(