filesystem.h 384 B

12345678910111213141516171819202122232425262728
  1. #ifndef BB_FILESYSTEM_H
  2. #define BB_FILESYSTEM_H
  3. #include <bbmonkey.h>
  4. #include <bbplatform.h>
  5. namespace bbFileSystem{
  6. bbString appDir();
  7. bbString appPath();
  8. bbArray<bbString> appArgs();
  9. bbBool copyFile( bbString srcPath,bbString dstPath );
  10. #if BB_IOS
  11. bbString getSpecialDir( bbString name );
  12. #endif
  13. #if BB_ANDROID
  14. FILE *fopenAsset( void *asset );
  15. #endif
  16. }
  17. #endif