summaryrefslogtreecommitdiff
path: root/src/lib/ecore_cocoa/Ecore_Cocoa.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ecore_cocoa/Ecore_Cocoa.h')
-rw-r--r--src/lib/ecore_cocoa/Ecore_Cocoa.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/lib/ecore_cocoa/Ecore_Cocoa.h b/src/lib/ecore_cocoa/Ecore_Cocoa.h
index 8d0e1bb8b2..f97bd20d27 100644
--- a/src/lib/ecore_cocoa/Ecore_Cocoa.h
+++ b/src/lib/ecore_cocoa/Ecore_Cocoa.h
@@ -55,12 +55,6 @@ typedef struct _Ecore_Cocoa_Window Ecore_Cocoa_Window;
55typedef struct _Ecore_Cocoa_Screen Ecore_Cocoa_Screen; 55typedef struct _Ecore_Cocoa_Screen Ecore_Cocoa_Screen;
56 56
57/** 57/**
58 * @typedef Ecore_Cocoa_Window_Id
59 * Opaque handler to reference the actual Cocoa window
60 */
61typedef void * Ecore_Cocoa_Window_Id;
62
63/**
64 * @typedef Ecore_Cocoa_Object 58 * @typedef Ecore_Cocoa_Object
65 * Opaque handler to refer to an objective-c object (aka id) 59 * Opaque handler to refer to an objective-c object (aka id)
66 */ 60 */
@@ -91,13 +85,13 @@ struct _Ecore_Cocoa_Event_Video_Resize
91{ 85{
92 int w; /**< Current width of the window */ 86 int w; /**< Current width of the window */
93 int h; /**< Current height of the window */ 87 int h; /**< Current height of the window */
94 Ecore_Cocoa_Window_Id wid; /**< Handler of the Cocoa window */ 88 Ecore_Cocoa_Object *cocoa_window; /**< Handler of the Cocoa window */
95}; 89};
96 90
97typedef struct _Ecore_Cocoa_Event_Window Ecore_Cocoa_Event_Window; 91typedef struct _Ecore_Cocoa_Event_Window Ecore_Cocoa_Event_Window;
98struct _Ecore_Cocoa_Event_Window 92struct _Ecore_Cocoa_Event_Window
99{ 93{
100 Ecore_Cocoa_Window_Id wid; 94 Ecore_Cocoa_Object *cocoa_window;
101}; 95};
102 96
103/** 97/**
@@ -262,7 +256,7 @@ EAPI void ecore_cocoa_window_view_set(Ecore_Cocoa_Window *window,
262 256
263EAPI int ecore_cocoa_titlebar_height_get(void); 257EAPI int ecore_cocoa_titlebar_height_get(void);
264 258
265EAPI Ecore_Cocoa_Window_Id ecore_cocoa_window_get_window_id(const Ecore_Cocoa_Window *window); 259EAPI Ecore_Cocoa_Object *ecore_cocoa_window_get(const Ecore_Cocoa_Window *window);
266 260
267 261
268EAPI Eina_Bool ecore_cocoa_selection_clipboard_set(const void *data, int size, Ecore_Cocoa_Cnp_Type type); 262EAPI Eina_Bool ecore_cocoa_selection_clipboard_set(const void *data, int size, Ecore_Cocoa_Cnp_Type type);