OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Classes | Functions
Platform.h File Reference
#include <memory>
#include <vector>
#include <string>
#include "Library/Geometry/Rect.h"
#include "Utility/Flags.h"
#include "PlatformEnums.h"

Classes

class  Platform
 

Functions

int platformMain (int argc, char **argv)
 

Function Documentation

◆ platformMain()

int platformMain ( int  argc,
char **  argv 
)

Entrypoint for the program that uses the platform lib. Function definition should be provided in user code.

Parameters
argcTotal number of arguments passed.
argvUTF8-encoded program arguments. Note that you're getting UTF8 on ALL platforms, including Windows.
Returns
Program return code.