#define KSD_MAIN

(user_app_type)

Automatically generates a main function for your application class.

Documentation

Automatically generates a main function for your application class. KSD_MAIN will create an instance of your class and set Application. This means that your application class must override Init() (the only pure virtual function in TApplication) and provide a constructor that takes zero arguments.

For example,


	#include <ksd/Application.h>

	class MyApp : public TApplication {
	public:
		void Init() { }
	};

	KSD_MAIN(MyApp);

	

Parameters:
app - The name of your application class. Must be a descendant of TApplication.
See Also:
TApplication

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.