struct CCL::IApplicationProvider

Overview

Application provider interface. More…

#include <iuserinterface.h>

struct IApplicationProvider: public CCL::IUnknown
{
    // methods

    virtual tbool CCL_API onInit () = 0;
    virtual void CCL_API onExit () = 0;
    virtual IApplication*CCL_API getApplication () = 0;
};

Inherited Members

public:
    // methods

    virtual tresult CCL_API queryInterface (UIDRef iid, void** ptr) = 0;
    virtual unsigned int CCL_API retain () = 0;
    virtual unsigned int CCL_API release () = 0;

Detailed Documentation

Application provider interface.

Methods

virtual tbool CCL_API onInit () = 0

Called before main event loop starts.

virtual void CCL_API onExit () = 0

Called when process quits via exit(), i.e.

control doesn’t return to main function.

virtual IApplication*CCL_API getApplication () = 0

Access application object.