102 inline void destroy(){
if(mInstance){
delete mInstance;mInstance = NULL;}}
122 void deleteControls();
124 std::string getCurrentWorkingDirectory();
130 void destroyFlashControl(
const std::string& controlName);
135 void destroyAllControls();
144 IFlashControl* getFlashControl(
const std::string& controlName)
const;
170 bool injectMouseMove(
short x,
short y,
int btn,
bool ontex =
true);
179 bool injectMouseDown(
int buttonID);
188 bool injectMouseUp(
int buttonID);
197 bool injectMouseWheel(
int relScroll);
234 void injectKeyEvent(
UINT msg, WPARAM wParam, LPARAM lParam);
248 void setKeyboardHookEnabled(
bool isEnabled);
253 void setPath(
const std::string& assetsDirectory =
"");
255 bool isKeyboardOnGUI();
258 bool focusControl(
int x,
int y,
IFlashControl* selection = 0);
260 bool isPointOverHikari(
short x,
short y);