2025-08-10 01:34:16 +02:00

31 lines
464 B
C++

#pragma once
#include <app/App.h>
/**
* Represents the static program. It creates an App object to represent the running instance of
* the program and provides a getter for the App object.
*/
class Program
{
public:
static int main(int argc, char** argv);
private:
Program() {}
static App* app;
public:
// getters & setters
static App* getApp()
{
return app;
}
};