galaxy 1.0.0
Real-Time C++23 Game Programming Framework. Built on data-driven design principles and agile software engineering.
Loading...
Searching...
No Matches
Application.hpp
Go to the documentation of this file.
1
7
8#ifndef GALAXY_CORE_APPLICATION_HPP_
9#define GALAXY_CORE_APPLICATION_HPP_
10
11#include <string>
12
13namespace galaxy
14{
18 class App final
19 {
20 public:
29 explicit App(const std::string& config_file = "config.json");
30
34 ~App();
35
39 // void load();
40
44 void run();
45
46 private:
50 App(const App&) = delete;
51
55 App(App&&) = delete;
56
60 App& operator=(const App&) = delete;
61
65 App& operator=(App&&) = delete;
66
67 void setup_logging();
68 void setup_async();
69 void setup_config(std::string_view config_file);
70 void setup_platform();
71 void setup_fs();
72 void setup_window();
73 void setup_events();
74 // void setup_nuklear();
75 // void setup_loader();
76 // void setup_meta();
77 // void setup_services();
78 void setup_scripting();
79 };
80} // namespace galaxy
81
82#endif
Base level class for any galaxy app.
App(const App &)=delete
Copy constructor.
void setup_config(std::string_view config_file)
void run()
Loads the default appdata file.
App(const std::string &config_file="config.json")
Default constructor.
App & operator=(const App &)=delete
Copy assignment operator.
void setup_logging()
void setup_async()
void setup_events()
App & operator=(App &&)=delete
Move assignment operator.
void setup_scripting()
void setup_platform()
void setup_window()
~App()
Destructor.
App(App &&)=delete
Move constructor.
Animated.cpp galaxy.
Definition Animated.cpp:16