#pragma once #include #include #include #include #include class GTextEditor; class TextEditorWidget final : public GWidget { public: TextEditorWidget(); virtual ~TextEditorWidget() override; void open_sesame(const String& path); private: GTextEditor* m_editor { nullptr }; String m_path; };