2021-03-02 05:23:00 +02:00
|
|
|
/*
|
|
|
|
* CIOSUtils.h, part of VCMI engine
|
|
|
|
*
|
|
|
|
* Authors: listed in file AUTHORS in main folder
|
|
|
|
*
|
|
|
|
* License: GNU General Public License v2.0 or later
|
|
|
|
* Full text of license available in license.txt file, in main folder
|
|
|
|
*
|
|
|
|
*/
|
2021-03-20 16:05:32 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2021-03-18 16:02:02 +02:00
|
|
|
#include <TargetConditionals.h>
|
|
|
|
|
|
|
|
#ifdef __OBJC__
|
|
|
|
@class NSURL;
|
|
|
|
#endif
|
2021-03-02 05:23:00 +02:00
|
|
|
|
|
|
|
extern const char *ios_documentsPath();
|
|
|
|
extern const char *ios_cachesPath();
|
|
|
|
|
2021-03-18 16:02:02 +02:00
|
|
|
#ifdef __OBJC__
|
|
|
|
NSURL *sharedContainerURL();
|
|
|
|
NSURL *sharedGameDataURL();
|
|
|
|
#endif
|
|
|
|
extern const char *ios_sharedDataPath();
|
|
|
|
|
|
|
|
#if TARGET_OS_SIMULATOR
|
|
|
|
extern const char *ios_hostApplicationSupportPath();
|
|
|
|
#endif
|
|
|
|
|
2021-03-02 05:23:00 +02:00
|
|
|
extern const char *ios_bundlePath();
|
|
|
|
extern const char *ios_frameworksPath();
|
2021-03-13 12:47:06 +02:00
|
|
|
|
|
|
|
extern const char *ios_bundleIdentifier();
|
2021-03-20 16:05:32 +02:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|