static int main(const std::vector<std::string> &args) { SetupCore setup_core; SetupDisplay setup_display; SetupD3D setup_d3d; TestApp app; return app.main(args); }
static int main(const std::vector<std::string> &args) { SetupCore setup_core; // Start the Application TestApp app; int retval = app.main(args); return retval; }
static int main(const std::vector<std::string> &args) { // Initialize ClanLib base components SetupCore setup_core; // Start the Application TestApp app; int retval = app.main(args); return retval; }
static int main(const std::vector<CL_String> &args) { CL_SetupCore setup_core; CL_SetupDisplay setup_display; CL_SetupGL setup_gl; // Start the Application TestApp app; int retval = app.main(args); return retval; }
static int main(const std::vector<std::string> &args) { SetupCore setup_core; SetupDisplay setup_display; #ifdef USE_D3D SetupD3D setup_d3d; #else SetupGL setup_gl; #endif // Start the Application TestApp app; int retval = app.main(args); return retval; }
int main(int argc, char** argv) { TestApp program; program.main(); }