From 83c92b1f48520ed71a9f056badc86c97aafa4e45 Mon Sep 17 00:00:00 2001 From: Loic Guegan <manzerbredes@mailbox.org> Date: Thu, 19 Jan 2023 16:28:05 +0100 Subject: [PATCH] Make NAG translation methods public --- src/CGEditor.hpp | 7 ++++--- 1 file 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