diff options
Diffstat (limited to 'floormat/main.hpp')
-rw-r--r-- | floormat/main.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/floormat/main.hpp b/floormat/main.hpp index 84f25eda..8b5648a2 100644 --- a/floormat/main.hpp +++ b/floormat/main.hpp @@ -6,6 +6,7 @@ struct SDL_Window; namespace Corrade::Containers { template<typename T> class ArrayView; } +namespace Magnum::Platform { class Sdl2Application; } namespace floormat { @@ -35,6 +36,9 @@ struct floormat_main fm_DECLARE_DELETED_COPY_ASSIGNMENT(floormat_main); fm_DECLARE_DEPRECATED_MOVE_ASSIGNMENT(floormat_main); + virtual Platform::Sdl2Application& application() noexcept = 0; + virtual const Platform::Sdl2Application& application() const noexcept = 0; + virtual int exec() = 0; virtual void quit(int status) = 0; |