#include <GASPilot.h>
Definition at line 22 of file GASPilot.h.
Public Member Functions | |
GASPilot (CATINSTANCE appInstance, CATRunMode runMode, const CATString &appName) | |
virtual | ~GASPilot () |
virtual CATResult | OnStart () |
virtual CATResult | OnEnd (const CATResult &result) |
virtual CATResult | OnEvent (const CATEvent &event, CATInt32 &retVal) |
OnEvent() is called as events are received that need to be processed by the application. | |
virtual CATResult | MainLoop () |
virtual void | OnHelp () |
OnHelp() is called when the user requests help. | |
virtual void | OnCommand (CATCommand &command, CATControl *ctrl, CATWindow *wnd, CATSkin *skin) |
CATResult | StartGame (const CATWChar *executable) |
Protected Member Functions | |
void | SteamWatch () |
bool | OnInjectWindow (HWND hwnd) |
void | UpdateMappingMenu () |
Update the mapping menu. | |
CATResult | SetActiveMapping (const CATString &mappingName) |
void | UpdateControllerMenu () |
Static Protected Member Functions | |
static unsigned int __stdcall | SteamWatcher (void *param) |
static BOOL CALLBACK | FillInjectWindow (HWND hwnd, LPARAM lParam) |
Protected Attributes | |
HANDLE | fSteamThread |
GASProtoMapper * | fMapper |
CATMenu * | fMappingMenu |
Menu from skin for selecting mapping. | |
CATMenu * | fControllerMenu |
CATWindow * | fWindow |
CATWindow * | fInjectWindow |
CATWindow * | fCfgWindow |
CATUInt32 | fCurBtn |