aboutsummaryrefslogtreecommitdiff
path: root/extension/src/openvic2/Types.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'extension/src/openvic2/Types.hpp')
-rw-r--r--extension/src/openvic2/Types.hpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/extension/src/openvic2/Types.hpp b/extension/src/openvic2/Types.hpp
index 0fb1c8b..bf5ee27 100644
--- a/extension/src/openvic2/Types.hpp
+++ b/extension/src/openvic2/Types.hpp
@@ -1,7 +1,18 @@
#pragma once
+#include <string>
+
namespace OpenVic2 {
using return_t = bool;
// This mirrors godot::Error, where `OK = 0` and `FAILED = 1`.
static const return_t SUCCESS = false, FAILURE = true;
+
+ struct HasIdentifier {
+ private:
+ std::string identifier;
+ protected:
+ HasIdentifier(std::string const& new_identifier);
+ public:
+ std::string const& get_identifier() const;
+ };
}