WHY_CPP  0.1
Public Member Functions | List of all members
ApplicationListener Class Reference

#include <application_listener.h>

Public Member Functions

virtual void OnCreate (Context &)
 
virtual void OnDispose (Context &)
 
virtual void OnPause (Context &)
 
virtual void OnResume (Context &)
 
virtual void OnRender (Context &)
 

Detailed Description

ApplicationListener is the entry poi32 into the WHYCPP application. Usually you need only one implementation of this interface, but in case you would like to have many different applications in a single binary file, you could create more implementations.

To run the application you should use Run() or RunApp() function with your implementation:

RunApp(new YourImplementation(), config)
Run<YourImplementation>(config)
See also
RunApp()
Run()

Definition at line 26 of file application_listener.h.


The documentation for this class was generated from the following file: