Covellite++  Version: 2.3.0 Revision: 2580 Platform: x64 Build: 15:23 16.10.2020
Кроссплатформенный фреймворк для разработки приложений на С++
Android.mock.hpp
1 
2 #pragma once
3 #include <alicorn\android.mock.hpp>
4 
5 struct AInputEvent {};
6 struct AConfiguration {};
7 struct ANativeWindow {};
8 
9 struct android_app
10 {
11  int32_t(*onInputEvent)(android_app *, AInputEvent *) = nullptr;
12  void(*onAppCmd)(android_app *, int32_t) = nullptr;
13  void * userData = nullptr;
14  ANativeActivity * activity = nullptr;
15  ANativeWindow * window = nullptr;
16  AConfiguration * config = nullptr;
17 
18  int destroyRequested = 0;
19  size_t StepToDestroyRequest = 0;
20 };
21 
23 {
24  void(*process)(android_app *, android_poll_source *) = nullptr;
25  ::std::vector<int32_t> m_Commands;
26  size_t m_Index = 0;
27 };
28 
29 #include "Events.hpp"
30 #include "Event.hpp"
31 #include "Log.hpp"
android_poll_source
Definition: android_native_app_glue.h:90
android_app
Definition: android_native_app_glue.h:111