summaryrefslogtreecommitdiff
path: root/src/utils/files.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-11-07 16:32:18 +0300
committerAndrei Karas <akaras@inbox.ru>2013-11-07 18:56:07 +0300
commit64535f9763c432bbb46be2769560bfd6a2202d72 (patch)
tree08221a911005ad417cbdc339b02a416b757122a5 /src/utils/files.h
parentcf77bdc4baa273d8750175411cb59af3ca3c07ac (diff)
downloadplus-64535f9763c432bbb46be2769560bfd6a2202d72.tar.gz
plus-64535f9763c432bbb46be2769560bfd6a2202d72.tar.bz2
plus-64535f9763c432bbb46be2769560bfd6a2202d72.tar.xz
plus-64535f9763c432bbb46be2769560bfd6a2202d72.zip
add progress bar while loading in SDL2 in Android.
Diffstat (limited to 'src/utils/files.h')
-rw-r--r--src/utils/files.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/utils/files.h b/src/utils/files.h
index 735812563..f356d7688 100644
--- a/src/utils/files.h
+++ b/src/utils/files.h
@@ -30,6 +30,10 @@ namespace Files
#endif
#if defined(ANDROID) || defined(__native_client__)
+ typedef void (*CopyFileCallbackPtr) (int cnt);
+
+ void setCopyCallBack(CopyFileCallbackPtr callback);
+
void copyPhysFsFile(const std::string &inFile, const std::string &outFile);
void copyPhysFsDir(const std::string &inDir, const std::string &outDir);