diff options
| author | Rémi Verschelde | 2017-03-19 00:36:26 +0100 |
|---|---|---|
| committer | Rémi Verschelde | 2017-03-19 00:36:26 +0100 |
| commit | f8db8a3faa30b71dca33ced38be16d3f93f43e8a (patch) | |
| tree | 3b798318132cca7eccfbca5818ab55656a2896d7 /platform/android/dir_access_android.h | |
| parent | 1d418afe863c9e553b69174ce63aef203c46d2f0 (diff) | |
| download | godot-f8db8a3faa30b71dca33ced38be16d3f93f43e8a.tar.gz godot-f8db8a3faa30b71dca33ced38be16d3f93f43e8a.tar.zst godot-f8db8a3faa30b71dca33ced38be16d3f93f43e8a.zip | |
Bring that Whole New World to the Old Continent too
Applies the clang-format style to the 2.1 branch as done for master in
5dbf1809c6e3e905b94b8764e99491e608122261.
Diffstat (limited to 'platform/android/dir_access_android.h')
| -rw-r--r-- | platform/android/dir_access_android.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/platform/android/dir_access_android.h b/platform/android/dir_access_android.h index 15c29a9a0..10f6b680f 100644 --- a/platform/android/dir_access_android.h +++ b/platform/android/dir_access_android.h @@ -32,23 +32,20 @@ #ifdef ANDROID_NATIVE_ACTIVITY #include "os/dir_access.h" -#include <stdio.h> #include <android/asset_manager.h> #include <android/log.h> #include <android_native_app_glue.h> +#include <stdio.h> +class DirAccessAndroid : public DirAccess { - -class DirAccessAndroid : public DirAccess { - - AAssetDir* aad; + AAssetDir *aad; String current_dir; String current; static DirAccess *create_fs(); public: - virtual bool list_dir_begin(); ///< This starts dir listing virtual String get_next(); virtual bool current_is_dir() const; @@ -61,10 +58,8 @@ public: virtual Error change_dir(String p_dir); ///< can be relative or absolute, return false on success virtual String get_current_dir(); ///< return current dir location - virtual bool file_exists(String p_file); - virtual Error make_dir(String p_dir); virtual Error rename(String p_from, String p_to); |
