CIOSUtils.h 786 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /*
  2. * CIOSUtils.h, part of VCMI engine
  3. *
  4. * Authors: listed in file AUTHORS in main folder
  5. *
  6. * License: GNU General Public License v2.0 or later
  7. * Full text of license available in license.txt file, in main folder
  8. *
  9. */
  10. #pragma once
  11. #ifdef __cplusplus
  12. extern "C" {
  13. #endif
  14. #include <TargetConditionals.h>
  15. #ifdef __OBJC__
  16. @class NSURL;
  17. #endif
  18. extern const char *ios_documentsPath();
  19. extern const char *ios_cachesPath();
  20. #ifdef __OBJC__
  21. NSURL *sharedContainerURL();
  22. NSURL *sharedGameDataURL();
  23. #endif
  24. extern const char *ios_sharedDataPath();
  25. #if TARGET_OS_SIMULATOR
  26. extern const char *ios_hostApplicationSupportPath();
  27. #endif
  28. extern const char *ios_bundlePath();
  29. extern const char *ios_frameworksPath();
  30. extern const char *ios_bundleIdentifier();
  31. #ifdef __cplusplus
  32. }
  33. #endif