From 64535f9763c432bbb46be2769560bfd6a2202d72 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 7 Nov 2013 16:32:18 +0300 Subject: add progress bar while loading in SDL2 in Android. --- src/utils/files.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/utils/files.h') 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); -- cgit v1.2.3-70-g09d2