#include <memory>

#include "SDL2/SDL.h"
// #include "SDL2/SDL_vulkan.h"
#include "SDL2/SDL_opengl.h"
#include "GL/glew.h"

#include "Logger.hh"
#include "Controller.hh"


using namespace Core;

namespace App
{
    class App
    {
    private:
        std::shared_ptr<Logger>             m_Logger;
        std::shared_ptr<Controller>         m_Controller;
        int                                 m_ReturnCode;
        int                                 m_WindowWidth;
        int                                 m_WindowHeight;
        SDL_Window*                         m_Window;
        SDL_GLContext                       m_glContext;
        bool                                m_Quit;
        bool                                m_VSync;
    public:
        App(/* args */);
        int getReturnCode() const;
        void handleCommand(const Uint32 command);
        ~App();
    };
} // namespace App
