diff options
author | Max Kellermann <max@duempel.org> | 2014-03-01 20:20:29 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-03-01 22:20:28 +0100 |
commit | b8f1850bba98685e978025041e495198627b57f5 (patch) | |
tree | a406368074249d77e84572a4f228ea1fcfd19104 /src/Main.hxx | |
parent | 5268f55344229f70e3565f63671eb582eaff733f (diff) | |
download | mpd-b8f1850bba98685e978025041e495198627b57f5.tar.gz mpd-b8f1850bba98685e978025041e495198627b57f5.tar.xz mpd-b8f1850bba98685e978025041e495198627b57f5.zip |
db/Configured: store database file in cache directory
Add class Context which wraps the Android/Java Context class and add a
JNI wrapper for method Context.getCacheDir().
Diffstat (limited to '')
-rw-r--r-- | src/Main.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Main.hxx b/src/Main.hxx index e2b1f5c31..7e3fecd0b 100644 --- a/src/Main.hxx +++ b/src/Main.hxx @@ -21,8 +21,13 @@ #define MPD_MAIN_HXX class EventLoop; +class Context; struct Instance; +#ifdef ANDROID +extern Context *context; +#endif + extern Instance *instance; #ifndef ANDROID |