#ifndef MAIN_WINDOW_HPP #define MAIN_WINDOW_HPP #include "archive.hpp" #include "getsuyomi.hpp" #include namespace getsuyomi { constexpr const char* AppName = "GetsuYomi"; constexpr const char* AppVersionString = "1.0.0"; class GetsuyomiApp : public QMainWindow { Q_OBJECT public: GetsuyomiApp(); private: void setup(); void createActions(); void createMenus(); void createToolBar(); Getsuyomi* m_getsuyomi; QAction* m_openFile; QAction* m_openDirectory; QAction* m_quitAction; QAction* m_nextAction; QAction* m_backAction; QMenu* m_menuBar; QToolBar* m_toolBar; private slots: void openFile(); void openDirectory(); void quit(); void next(); void back(); }; } // namespace getsuyomi #endif