diff --git a/src/nostalgia/studio/studioapp.hpp b/src/nostalgia/studio/studioapp.hpp index bd1171f0f..9af927b0e 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 +}