From d14bab7abddbbe5865103c33499d8195850edb45 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Mon, 21 Feb 2022 02:25:15 -0600 Subject: [PATCH] [nostalgia/studio] Add missing Editor header to studioapp.hpp --- src/nostalgia/studio/studioapp.hpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/nostalgia/studio/studioapp.hpp b/src/nostalgia/studio/studioapp.hpp index bd1171f0..9af927b0 100644 --- a/src/nostalgia/studio/studioapp.hpp +++ b/src/nostalgia/studio/studioapp.hpp @@ -8,6 +8,7 @@ #include #include +#include "lib/editor.hpp" #include "lib/module.hpp" #include "lib/project.hpp" #include "lib/task.hpp" @@ -37,6 +38,10 @@ class StudioUI: public ox::SignalHandler { void update() noexcept; + constexpr auto project() noexcept { + return m_project.get(); + } + protected: void draw() noexcept; @@ -62,4 +67,4 @@ class StudioUI: public ox::SignalHandler { ox::Error closeFile(const ox::String &path) noexcept; }; -} \ No newline at end of file +}