10#include <unordered_map>
41 void bind(
const void* instance) {
62 bool _is_alive =
false;
64 std::unordered_map<size_t, const void* > _instance_register;
unsigned int uint
Definition types.h:14
std::string_view str
Definition types.h:12
Definition application.h:13
size_t get_type_hash()
Definition type_utils.h:14
A struct that holds all info the application needs at launch.
Definition application.h:17
str applicationTitle
Definition application.h:20
uint version
MAJOR | MINOR | PATCH?
Definition application.h:19
Main class that holds all information.
Definition application.h:25
App(AppCreationInfo *creationInfo)
Initializes the Application (Also registers all "known" class to the registry)
Definition application.cpp:9
A * get()
Returns the registered instance.
Definition application.h:47
AppCreationInfo * getAppInfo()
Returns a pointer to the info with what the application is made.
Definition application.cpp:43
void bind(const void *instance)
Used to bind an instance to an type.
Definition application.h:41
bool is_alive()
Returns if the app is still running.
Definition application.cpp:39
~App()
Definition application.cpp:18