aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2023-01-19 16:28:05 +0100
committerLoic Guegan <manzerbredes@mailbox.org>2023-01-19 16:28:05 +0100
commit83c92b1f48520ed71a9f056badc86c97aafa4e45 (patch)
tree355527822ec9cb761d40538db833a68a1b2798e8
parentd24defdabc6a619676bb4ca94966cea3bc75b4b9 (diff)
Make NAG translation methods public
-rw-r--r--src/CGEditor.hpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/CGEditor.hpp b/src/CGEditor.hpp
index 2ac81a3..7c4372e 100644
--- a/src/CGEditor.hpp
+++ b/src/CGEditor.hpp
@@ -33,12 +33,13 @@ protected:
virtual void DrawElement(const Element &) = 0;
/// @brief Handle event that occured during editor drawing
virtual void HandleEvent(const Event &) = 0;
+public:
+ CGEditor();
+ ~CGEditor();
+
/// @brief Convert NAG id to symbol using the NagTable
std::string GetNAGSymbol(const std::uint8_t) const;
/// @brief Convert NAG symbol to id using the NagTable
std::uint8_t GetNAGId(const std::string&) const;
-public:
- CGEditor();
- ~CGEditor();
};
} // namespace cgeditor \ No newline at end of file