@endcode
@library{wxbase}
- @category{misc}
+ @category{appmanagement}
*/
class wxModule : public wxObject
{
*/
virtual ~wxModule();
+ /**
+ Provide this function with appropriate cleanup for your module.
+ */
+ virtual void OnExit() = 0;
+
+ /**
+ Provide this function with appropriate initialization for your module.
+ If the function returns @false, wxWidgets will exit immediately.
+ */
+ virtual bool OnInit() = 0;
+
+protected:
+
/**
Call this function from the constructor of the derived class.
The class name of the dependent module.
*/
void AddDependency(const char* classname);
-
- /**
- Provide this function with appropriate cleanup for your module.
- */
- virtual void OnExit();
-
- /**
- Provide this function with appropriate initialization for your module.
- If the function returns @false, wxWidgets will exit immediately.
- */
- virtual bool OnInit();
};