summaryrefslogtreecommitdiff
path: root/platform/android/src/run_loop_impl.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'platform/android/src/run_loop_impl.hpp')
-rw-r--r--platform/android/src/run_loop_impl.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/platform/android/src/run_loop_impl.hpp b/platform/android/src/run_loop_impl.hpp
index 2dd912994f..5cf7231175 100644
--- a/platform/android/src/run_loop_impl.hpp
+++ b/platform/android/src/run_loop_impl.hpp
@@ -27,6 +27,11 @@ public:
std::list<Runnable*>::iterator iter;
};
+ Impl(RunLoop*, RunLoop::Type);
+ ~Impl();
+
+ void wake();
+
void addRunnable(Runnable*);
void removeRunnable(Runnable*);
void initRunnable(Runnable*);
@@ -36,6 +41,8 @@ public:
private:
friend RunLoop;
+ int fds[2];
+
JNIEnv *env = nullptr;
bool detach = false;