2021-03-02 06:23:00 +03: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 17:05:32 +03:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2021-03-18 17:02:02 +03:00
|
|
|
#include <TargetConditionals.h>
|
|
|
|
|
|
|
|
#ifdef __OBJC__
|
|
|
|
@class NSURL;
|
|
|
|
#endif
|
2021-03-02 06:23:00 +03:00
|
|
|
|
|
|
|
extern const char *ios_documentsPath();
|
|
|
|
extern const char *ios_cachesPath();
|
|
|
|
|
2021-03-18 17:02:02 +03:00
|
|
|
#if TARGET_OS_SIMULATOR
|
|
|
|
extern const char *ios_hostApplicationSupportPath();
|
|
|
|
#endif
|
|
|
|
|
2021-03-02 06:23:00 +03:00
|
|
|
extern const char *ios_bundlePath();
|
|
|
|
extern const char *ios_frameworksPath();
|
2021-03-13 13:47:06 +03:00
|
|
|
|
|
|
|
extern const char *ios_bundleIdentifier();
|
2021-03-20 17:05:32 +03:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|