]> git.tdb.fi Git - libs/core.git/blobdiff - source/core/android/mainthread.h
Have get_user_data_dir return a proper location on Android
[libs/core.git] / source / core / android / mainthread.h
index efd0fe0e0af22e1c5c833e000b5fd10862f37546..4bac952bc149bd839b1815be03981d6ff130baea 100644 (file)
@@ -3,6 +3,7 @@
 
 #include <android/native_activity.h>
 #include <sigc++/signal.h>
+#include <msp/fs/path.h>
 #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();