diff --git a/src/app/core/controller.h b/src/app/core/controller.h index a888fde5..946454b1 100644 --- a/src/app/core/controller.h +++ b/src/app/core/controller.h @@ -23,6 +23,8 @@ namespace yaze { namespace app { namespace core { +enum class Platform { kUnknown, kMacOS, kiOS, kWindows, kLinux }; + /** * @brief Main controller for the application. * @@ -63,9 +65,11 @@ class Controller : public ExperimentFlags { friend int ::main(int argc, char **argv); bool active_; + Platform platform_; + editor::MasterEditor master_editor_; + int audio_frequency_ = 48000; int16_t *audio_buffer_; - editor::MasterEditor master_editor_; SDL_AudioDeviceID audio_device_; std::shared_ptr window_; std::shared_ptr renderer_; @@ -75,4 +79,4 @@ class Controller : public ExperimentFlags { } // namespace app } // namespace yaze -#endif // YAZE_APP_CORE_CONTROLLER_H \ No newline at end of file +#endif // YAZE_APP_CORE_CONTROLLER_H