Nebula
Loading...
Searching...
No Matches
appentry.h File Reference

Detailed Description

Implements a platform-independent app-entry point.

In your main file, put the line

ImplementNebulaApplication();

And then replace your main() function with:

void NebulaMain(const CommandLineArgs& args)

#include "core/types.h"
#include "util/commandlineargs.h"

Go to the source code of this file.

Macros

#define ImplementNebulaApplication()
 

Macro Definition Documentation

◆ ImplementNebulaApplication

#define ImplementNebulaApplication ( )
Value:
void NebulaMain(const Util::CommandLineArgs& args); \
int __cdecl main(int argc, const char** argv) \
{ \
Util::CommandLineArgs args(argc, argv); \
NebulaMain(args); \
return 0; \
}
A universal cmd line argument parser.
Definition commandlineargs.h:24