add ios defs for file and font fns
This commit is contained in:
@@ -12,10 +12,33 @@
|
||||
|
||||
#if TARGET_IPHONE_SIMULATOR == 1
|
||||
/* iOS in Xcode simulator */
|
||||
std::string FileDialogWrapper::ShowOpenFileDialog() { return ""; }
|
||||
|
||||
std::string FileDialogWrapper::ShowOpenFolderDialog() { return ""; }
|
||||
|
||||
std::vector<std::string> FileDialogWrapper::GetFilesInFolder(const std::string& folder) {
|
||||
return {};
|
||||
}
|
||||
|
||||
std::vector<std::string> FileDialogWrapper::GetSubdirectoriesInFolder(const std::string& folder) {
|
||||
return {};
|
||||
}
|
||||
|
||||
#elif TARGET_OS_IPHONE == 1
|
||||
/* iOS */
|
||||
|
||||
std::string FileDialogWrapper::ShowOpenFileDialog() { return ""; }
|
||||
|
||||
std::string FileDialogWrapper::ShowOpenFolderDialog() { return ""; }
|
||||
|
||||
std::vector<std::string> FileDialogWrapper::GetFilesInFolder(const std::string& folder) {
|
||||
return {};
|
||||
}
|
||||
|
||||
std::vector<std::string> FileDialogWrapper::GetSubdirectoriesInFolder(const std::string& folder) {
|
||||
return {};
|
||||
}
|
||||
|
||||
#elif TARGET_OS_MAC == 1
|
||||
/* macOS */
|
||||
|
||||
|
||||
@@ -13,9 +13,11 @@
|
||||
|
||||
#if TARGET_IPHONE_SIMULATOR == 1
|
||||
/* iOS in Xcode simulator */
|
||||
void LoadSystemFonts() {}
|
||||
|
||||
#elif TARGET_OS_IPHONE == 1
|
||||
/* iOS */
|
||||
void LoadSystemFonts() {}
|
||||
|
||||
#elif TARGET_OS_MAC == 1
|
||||
/* macOS */
|
||||
|
||||
Reference in New Issue
Block a user