From 94c65d23e3cb313704f6b1c65bed1b0116808246 Mon Sep 17 00:00:00 2001 From: Twinaphex Date: Sat, 4 Apr 2015 22:30:27 +0200 Subject: [PATCH] (browser.m) Move file_action enum to top --- apple/iOS/browser.m | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/apple/iOS/browser.m b/apple/iOS/browser.m index c910a21ebf..a68c3fd5cf 100644 --- a/apple/iOS/browser.m +++ b/apple/iOS/browser.m @@ -25,6 +25,14 @@ #include #include +enum file_action +{ + FA_DELETE = 10000, + FA_CREATE, + FA_MOVE, + FA_UNZIP +}; + static const void* const associated_module_key = &associated_module_key; static int zlib_extract_callback(const char *name, const char *valid_exts, @@ -79,7 +87,6 @@ static void unzip_file(const char* path, const char* output_directory) apple_display_alert("Could not process zip file.", "Action Failed"); } -enum file_action { FA_DELETE = 10000, FA_CREATE, FA_MOVE, FA_UNZIP }; static void file_action(enum file_action action, NSString* source, NSString* target) { NSError* error = nil;