summaryrefslogtreecommitdiffstats
path: root/platform/ios/tts_ios.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform/ios/tts_ios.h')
-rw-r--r--platform/ios/tts_ios.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/platform/ios/tts_ios.h b/platform/ios/tts_ios.h
index 7f9d30b22b..217f55da66 100644
--- a/platform/ios/tts_ios.h
+++ b/platform/ios/tts_ios.h
@@ -31,18 +31,18 @@
#ifndef TTS_IOS_H
#define TTS_IOS_H
-#if __has_include(<AVFAudio/AVSpeechSynthesis.h>)
-#import <AVFAudio/AVSpeechSynthesis.h>
-#else
-#import <AVFoundation/AVFoundation.h>
-#endif
-
#include "core/string/ustring.h"
#include "core/templates/hash_map.h"
#include "core/templates/list.h"
#include "core/variant/array.h"
#include "servers/display_server.h"
+#if __has_include(<AVFAudio/AVSpeechSynthesis.h>)
+#import <AVFAudio/AVSpeechSynthesis.h>
+#else
+#import <AVFoundation/AVFoundation.h>
+#endif
+
@interface TTS_IOS : NSObject <AVSpeechSynthesizerDelegate> {
bool speaking;
HashMap<id, int> ids;