diff options
Diffstat (limited to 'host-common/window_agent.h')
-rw-r--r-- | host-common/window_agent.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/host-common/window_agent.h b/host-common/window_agent.h index ab3274d8..bc85c987 100644 --- a/host-common/window_agent.h +++ b/host-common/window_agent.h @@ -32,6 +32,8 @@ static const int kWindowMessageTimeoutInfinite = -1; typedef struct EmulatorWindow EmulatorWindow; +typedef void (*UiUpdateFunc)(void* data); + typedef struct QAndroidEmulatorWindowAgent { // Get a pointer to the emulator window structure. EmulatorWindow* (*getEmulatorWindow)(); @@ -85,4 +87,5 @@ typedef struct QAndroidEmulatorWindowAgent { bool (*startExtendedWindow)(void); bool (*quitExtendedWindow)(void); bool (*setUiTheme)(int settingsTheme); + void (*runOnUiThread)(UiUpdateFunc f, void* data, bool wait); } QAndroidEmulatorWindowAgent; |