diff options
author | Roman Kiryanov <rkir@google.com> | 2024-03-11 17:08:36 -0700 |
---|---|---|
committer | Roman Kiryanov <rkir@google.com> | 2024-03-11 17:08:36 -0700 |
commit | 7546235e6055fddb9cac780190071f515059849d (patch) | |
tree | 71b58226c87e2757c929edd6affb39054251febb | |
parent | c63f29e5f3a86f07b8575c31b444dffa9bbfb50b (diff) | |
download | aemu-7546235e6055fddb9cac780190071f515059849d.tar.gz |
Add a callback to initialize UI
some UI managed settings are required to be
applied when the emulator start.
Bug: 307093465
Test: presubmit
Change-Id: I07057d0fe7bfbdbdf2caa7ac303959980971bce1
Signed-off-by: Roman Kiryanov <rkir@google.com>
-rw-r--r-- | host-common/include/host-common/window_agent.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/host-common/include/host-common/window_agent.h b/host-common/include/host-common/window_agent.h index be16f13..db95dbb 100644 --- a/host-common/include/host-common/window_agent.h +++ b/host-common/include/host-common/window_agent.h @@ -47,6 +47,9 @@ typedef struct EmulatorWindow EmulatorWindow; typedef void (*UiUpdateFunc)(void* data); typedef struct QAndroidEmulatorWindowAgent { + // Initialize the UI, e.g. load and apply settings from all windows + void (*initUI)(); + // Get a pointer to the emulator window structure. EmulatorWindow* (*getEmulatorWindow)(void); |