aboutsummaryrefslogtreecommitdiffstats
path: root/src/android/Environment.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/android/Environment.hxx')
-rw-r--r--src/android/Environment.hxx12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/android/Environment.hxx b/src/android/Environment.hxx
index 054ffc6f2..5a54ea361 100644
--- a/src/android/Environment.hxx
+++ b/src/android/Environment.hxx
@@ -20,8 +20,11 @@
#ifndef MPD_ANDROID_ENVIRONMENT_HXX
#define MPD_ANDROID_ENVIRONMENT_HXX
+#include "Compiler.h"
+
#include <jni.h>
-#include <stddef.h>
+
+class AllocatedPath;
namespace Environment {
void Initialise(JNIEnv *env);
@@ -30,10 +33,11 @@ namespace Environment {
/**
* Determine the mount point of the external SD card.
*/
- char *getExternalStorageDirectory(char *buffer, size_t max_size);
+ gcc_pure
+ AllocatedPath getExternalStorageDirectory();
- char *getExternalStoragePublicDirectory(char *buffer, size_t max_size,
- const char *type);
+ gcc_pure
+ AllocatedPath getExternalStoragePublicDirectory(const char *type);
};
#endif