summaryrefslogtreecommitdiffstats
path: root/platform/ios/export/export_plugin.h
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2024-02-01 16:02:39 +0100
committerkobewi <kobewi4e@gmail.com>2024-02-15 22:37:32 +0100
commit343bfb112f5a8cda4fdd86b0074bb2f54fd31e4b (patch)
tree2c182b308e4838a16a6769ccc57f724a5b119a06 /platform/ios/export/export_plugin.h
parent9adb7c7d130c6d4eb0e80b92d6eebd71fac3384d (diff)
downloadredot-engine-343bfb112f5a8cda4fdd86b0074bb2f54fd31e4b.tar.gz
Don't invoke adb with no runnable Android preset
Diffstat (limited to 'platform/ios/export/export_plugin.h')
-rw-r--r--platform/ios/export/export_plugin.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/ios/export/export_plugin.h b/platform/ios/export/export_plugin.h
index edbe566dab..197f27da76 100644
--- a/platform/ios/export/export_plugin.h
+++ b/platform/ios/export/export_plugin.h
@@ -81,9 +81,11 @@ class EditorExportPlatformIOS : public EditorExportPlatform {
#ifdef MACOS_ENABLED
Thread check_for_changes_thread;
SafeFlag quit_request;
+ SafeFlag has_runnable_preset;
static bool _check_xcode_install();
static void _check_for_changes_poll_thread(void *ud);
+ void _update_preset_status();
#endif
typedef Error (*FileHandler)(String p_file, void *p_userdata);
@@ -152,6 +154,8 @@ protected:
virtual bool get_export_option_visibility(const EditorExportPreset *p_preset, const String &p_option) const override;
virtual String get_export_option_warning(const EditorExportPreset *p_preset, const StringName &p_name) const override;
+ void _notification(int p_what);
+
public:
virtual String get_name() const override { return "iOS"; }
virtual String get_os_name() const override { return "iOS"; }