X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fcore%2Fandroid%2Fmainthread.h;h=09f907f174a30862e9f970cd005590a0a9b12ece;hb=264195348a606f22f9d50348cd03b93b49175acc;hp=efd0fe0e0af22e1c5c833e000b5fd10862f37546;hpb=c0d3fd58fd25e4627a6f8d64a22c5800e783ce07;p=libs%2Fcore.git diff --git a/source/core/android/mainthread.h b/source/core/android/mainthread.h index efd0fe0..09f907f 100644 --- a/source/core/android/mainthread.h +++ b/source/core/android/mainthread.h @@ -3,6 +3,7 @@ #include #include +#include #include "mutex.h" #include "thread.h" @@ -21,6 +22,7 @@ public: private: ANativeActivity *activity; AAssetManager *asset_manager; + FS::Path int_data_path; bool starting_up; Mutex startup_mutex; @@ -33,6 +35,7 @@ public: void resume_startup(); AAssetManager *get_asset_manager() const { return asset_manager; } + const FS::Path &get_internal_data_path() const { return int_data_path; } private: virtual void main(); @@ -44,6 +47,7 @@ private: static void native_window_destroyed(ANativeActivity *, ANativeWindow *); static void input_queue_created(ANativeActivity *, AInputQueue *); static void input_queue_destroyed(ANativeActivity *, AInputQueue *); + static void end_process(ANativeActivity *); }; } // namespace Android