summaryrefslogtreecommitdiff
path: root/platform/iphone/os_iphone.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-11-20 22:56:15 +0100
committerGitHub <noreply@github.com>2017-11-20 22:56:15 +0100
commit71a3e71b61690663f5bc6b1b091f578a6d6915f7 (patch)
tree380303c58fff0dd7e2e6aa4c4b192e48e4a23037 /platform/iphone/os_iphone.h
parent6065b2d1778cd5dc8c078f3b59e501fb8ccdec9f (diff)
parent8f0f327f0207cbde27bbfba3ac106b9457d7201b (diff)
Merge pull request #11783 from endragor/ios-export-frameworks
Allow exporting third-party iOS Frameworks
Diffstat (limited to 'platform/iphone/os_iphone.h')
-rw-r--r--platform/iphone/os_iphone.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/platform/iphone/os_iphone.h b/platform/iphone/os_iphone.h
index 433228b599..0790a2a9ea 100644
--- a/platform/iphone/os_iphone.h
+++ b/platform/iphone/os_iphone.h
@@ -60,6 +60,9 @@ private:
MAX_EVENTS = 64,
};
+ static HashMap<String, void *> dynamic_symbol_lookup_table;
+ friend void register_dynamic_symbol(char *name, void *address);
+
uint8_t supported_orientations;
VisualServer *visual_server;
@@ -153,6 +156,10 @@ public:
virtual void alert(const String &p_alert, const String &p_title = "ALERT!");
+ virtual Error open_dynamic_library(const String p_path, void *&p_library_handle);
+ virtual Error close_dynamic_library(void *p_library_handle);
+ virtual Error get_dynamic_library_symbol_handle(void *p_library_handle, const String p_name, void *&p_symbol_handle, bool p_optional = false);
+
virtual void set_video_mode(const VideoMode &p_video_mode, int p_screen = 0);
virtual VideoMode get_video_mode(int p_screen = 0) const;
virtual void get_fullscreen_mode_list(List<VideoMode> *p_list, int p_screen = 0) const;