コード例 #1
0
ファイル: test.cpp プロジェクト: lonelylife/ClanLib
	static int main(const std::vector<std::string> &args)
	{
		SetupCore setup_core;
		SetupDisplay setup_display;
		SetupD3D setup_d3d;

		TestApp app;
		return app.main(args);
	}
コード例 #2
0
ファイル: test.cpp プロジェクト: punkkeks/ClanLib
	static int main(const std::vector<std::string> &args)
	{
		SetupCore setup_core;

		// Start the Application
		TestApp app;
		int retval = app.main(args);
		return retval;
	}
コード例 #3
0
ファイル: test.cpp プロジェクト: punkkeks/ClanLib
	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;
	}
コード例 #4
0
ファイル: test.cpp プロジェクト: PaulFSherwood/cplusplus
	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;
	}
コード例 #5
0
ファイル: test.cpp プロジェクト: punkkeks/ClanLib
	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;
	}
コード例 #6
0
ファイル: test.cpp プロジェクト: MeiHouwang/ClanLib
int main(int argc, char** argv)
{
	TestApp program;
	program.main();
}