Add extern "C" for cplusplus to public headers 32/324332/1
authorjinbong.lee <jinbong.lee@samsung.com>
Thu, 15 May 2025 10:22:20 +0000 (19:22 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Thu, 15 May 2025 12:19:18 +0000 (21:19 +0900)
Change-Id: I074dc82d43da9124e115b67d415c123726b12c57
Signed-off-by: jinbong.lee <jinbong.lee@samsung.com>
69 files changed:
src/include/e_actions.h
src/include/e_appinfo.h
src/include/e_blur_video_capture.h
src/include/e_client.h
src/include/e_client_video.h
src/include/e_comp.h
src/include/e_comp_canvas.h
src/include/e_comp_cfdata.h
src/include/e_comp_object.h
src/include/e_comp_screen.h
src/include/e_comp_wl.h
src/include/e_comp_wl_capture.h
src/include/e_comp_wl_input.h
src/include/e_comp_wl_rsm.h
src/include/e_comp_wl_tbm.h
src/include/e_comp_wl_video_buffer.h
src/include/e_comp_wl_viewport.h
src/include/e_config.h
src/include/e_config_data.h
src/include/e_dbus_conn.h
src/include/e_desk.h
src/include/e_desk_area.h
src/include/e_device.h
src/include/e_devicemgr.h
src/include/e_dnd.h
src/include/e_egl_sync.h
src/include/e_explicit_sync.h
src/include/e_focus.h
src/include/e_gesture.h
src/include/e_hints.h
src/include/e_hwc.h
src/include/e_hwc_window.h
src/include/e_hwc_windows.h
src/include/e_info_server.h
src/include/e_info_server_input.h
src/include/e_info_shared_types.h
src/include/e_input.h
src/include/e_input_event.h
src/include/e_input_thread_client.h
src/include/e_keyrouter.h
src/include/e_layout.h
src/include/e_log.h
src/include/e_main.h
src/include/e_module.h
src/include/e_object.h
src/include/e_output.h
src/include/e_pixmap.h
src/include/e_pointer.h
src/include/e_policy.h
src/include/e_policy_conformant.h
src/include/e_policy_private_data.h
src/include/e_policy_visibility.h
src/include/e_policy_wl.h
src/include/e_prefix.h
src/include/e_presentation_time.h
src/include/e_privilege.h
src/include/e_process.h
src/include/e_screensaver.h
src/include/e_seat.h
src/include/e_security.h
src/include/e_service_gesture.h
src/include/e_service_quickpanel.h
src/include/e_service_virtual_touch.h
src/include/e_theme.h
src/include/e_types.h
src/include/e_util_transform.h
src/include/e_utils.h
src/include/e_video_debug.h
src/include/e_zone.h

index 4f3c34a01415ee25f1f17897854ecddbd37d2923..ffd88360fc2740f5252cac82b21da12fc3a57d64 100644 (file)
@@ -1,8 +1,16 @@
 #ifndef E_ACTIONS_H
 #define E_ACTIONS_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 
 typedef struct _E_Action E_Action;
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif
index 2e2b5d81d7d68953383cfca7f397fbb5d72ae882..527ef1729318ff0ba7e56a2878d4d41c64efb9bd 100644 (file)
@@ -1,6 +1,10 @@
 # ifndef E_APPINFO_H
 # define E_APPINFO_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 
 #include <unistd.h>
@@ -27,4 +31,8 @@ E_API Eina_Stringshare      *e_appinfo_appid_get(E_Appinfo *eai);
 E_API E_Appinfo_Hook        *e_appinfo_hook_add(E_Appinfo_Hook_Point point, E_Appinfo_Hook_Cb cb, const void *data);
 E_API void                   e_appinfo_hook_del(E_Appinfo_Hook *hook);
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif
index 655729c78215cf5e414d293b0586722f7a74cbdc..3897b3d5de930fecb923aadf607048f97566ee2a 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef E_BLUR_VIDEO_CAPTURE_H
 #define E_BLUR_VIDEO_CAPTURE_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 #include <tbm_surface.h>
 
@@ -28,4 +32,8 @@ struct _E_Blur_Video_Capture_Funcs
 E_API Eina_Bool e_blur_video_capture_module_func_set(E_Blur_Video_Capture_Funcs *fn);
 E_API Eina_Bool e_blur_video_capture_module_func_unset(void);
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif
index 4477104f6fc13b2695b42da7b3e475e1b9e803fc..a5fb49ffab0e0679bda69c9c01c58d843b3141ce 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef E_CLIENT_H
 #define E_CLIENT_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 #include <e_object.h>
 #include <e_comp.h>
@@ -1295,4 +1299,8 @@ E_API E_Hwc_Window *e_client_hwc_window_get(E_Client *ec);
 E_API void e_client_launch_real_done_event_send(E_Client *ec);
 /////////////////////////////////////////////////////////
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif
index 649e3667eb15b316b4f5f470e97e136cd57cc5ae..16bf97da1a8049192fcf1361f78f01d8f1a19cd4 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef E_CLIENT_VIDEO_H
 #define E_CLIENT_VIDEO_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 
 #include <tdm.h>
@@ -39,4 +43,8 @@ E_API   Eina_Bool    e_client_video_property_get(E_Client *ec, unsigned int id,
  */
 E_API   Eina_Bool    e_client_video_property_set(E_Client *ec, unsigned int id, tdm_value value, Eina_Bool sync);
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif
index 2030707e3c62b5f82b4ca90e3924f558d902f211..04d114b646757cd5bc8a482fb1bfcb53834199ab 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef E_COMP_H
 #define E_COMP_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 #include <e_comp_cfdata.h>
 #include <e_client.h>
@@ -210,4 +214,8 @@ E_API E_Zone *e_comp_zone_find_by_ec(E_Client *ec);
 E_API E_Desk *e_comp_desk_find_by_ec(E_Client *ec);
 E_API E_Desk_Area *e_comp_desk_area_find_by_ec(E_Client *ec);
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif
index 02f3cd28bea336a85ece3a3d8dc4893132aefb2c..63bf6f35f1bf9210e4cc36d5ad739ba7dbea50fe 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef E_COMP_CANVAS_H
 #define E_COMP_CANVAS_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 #include <e_canvas.h>
 
index 0f3b7e40831afc40d2f15a3b0edb9dff1f8c3103..7adc430ec8ee17a6fd053bea0c753bcbe42808ff 100644 (file)
@@ -2,6 +2,10 @@
 #ifndef E_COMP_CFDATA_H
 #define E_COMP_CFDATA_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 
 typedef struct _E_Comp_Config E_Comp_Config;
@@ -174,4 +178,8 @@ E_API void        e_comp_match_focus_set(E_Comp_Match *match, int focus);
 E_API int         e_comp_match_no_shadow_get(const E_Comp_Match *match);
 E_API void        e_comp_match_no_shadow_set(E_Comp_Match *match, int no_shadow);
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif
index 6c276d19b618934216412e0a9767fb0935abb46e..1758929383f3c1470a362a5fce09615fdfb7f404 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef E_COMP_OBJECT_H
 #define E_COMP_OBJECT_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 #include <e_map.h>
 
@@ -138,5 +142,9 @@ E_API void                e_comp_object_hook_del(E_Comp_Object_Hook *ch);
 E_API E_Comp_Object_Intercept_Hook *e_comp_object_intercept_hook_add(E_Comp_Object_Intercept_Hook_Point hookpoint, E_Comp_Object_Intercept_Hook_Cb func, const void *data);
 E_API void                          e_comp_object_intercept_hook_del(E_Comp_Object_Intercept_Hook *ch);
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif
 
index a9da00bfb4082586e8e7f8ed09b233746a9a3bce..78585a5bd17d681f2c7bcb7d18af39bc6a849eee 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef E_COMP_SCREEN_H
 #define E_COMP_SCREEN_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 #include <e_client.h>
 
@@ -17,4 +21,8 @@ E_API Eina_List *e_comp_screen_outputs_get(E_Comp_Screen *comp_screen);
 
 EINTERN Eina_Bool e_comp_screen_prefer_gbm_check(void);
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif /*E_COMP_SCREEN_H*/
index a292b57a9a42eb40221342f98683b0d79155483f..d9b823192c4e18df2d97d72a233e157c6e406f18 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef E_COMP_WL_H
 #define E_COMP_WL_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 #include <e_comp.h>
 #include <e_client.h>
@@ -673,4 +677,8 @@ E_API void        e_comp_wl_buffer_viewport_changed_set(E_Comp_Wl_Buffer_Viewpor
 E_DEPRECATED E_API uint32_t    e_comp_wl_buffer_viewport_wait_for_transform_change_get(const E_Comp_Wl_Buffer_Viewport *viewport);
 E_DEPRECATED E_API void        e_comp_wl_buffer_viewport_wait_for_transform_change_set(E_Comp_Wl_Buffer_Viewport *viewport, uint32_t wait_for_transform_change);
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif
index 2264ac0fb378c73ec71972e616d5cdb6071e9f6b..904389afb5fa15096556c76f0d1f3aa270e9ea64 100644 (file)
@@ -1,6 +1,10 @@
 # ifndef E_COMP_WL_CAPTURE_H
 # define E_COMP_WL_CAPTURE_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 #include <e_client.h>
 
@@ -18,4 +22,8 @@ typedef void (*E_Capture_Client_Save_End_Cb)(void *data, E_Client *ec, const Ein
 E_API   E_Capture_Save_State e_comp_wl_capture_client_image_save(E_Client *ec, const char* path, const char* name, E_Capture_Client_Save_End_Cb func_end, void *data, Eina_Bool skip_child);
 E_API   void                 e_comp_wl_capture_client_image_save_cancel(E_Client *ec);
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif
index 1c355f2b512afe35245340cd716caca80c4b1f2b..bc9862df4ad9ccb014aa558ced8f5a7af909d05c 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef E_COMP_WL_INPUT_H
 #define E_COMP_WL_INPUT_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 
 typedef struct _E_Event_Text_Input_Panel_Visibility_Change E_Event_Text_Input_Panel_Visibility_Change;
@@ -29,4 +33,8 @@ E_API int               e_comp_wl_input_kbd_repeat_rate_get();
 E_API void              e_comp_wl_input_kbd_resource_list_lock();
 E_API void              e_comp_wl_input_kbd_resource_list_unlock();
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif
index 5afc08ffed68d7934d98ff1da838a1717c972333..8191e32e2b81bd1bf138f1e696f33a6cc4530e54 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef E_COMP_WL_RSM_H
 #define E_COMP_WL_RSM_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 
 typedef struct _E_Event_Remote_Surface_Provider E_Event_Remote_Surface_Provider;
@@ -20,4 +24,8 @@ E_API void       e_comp_wl_remote_surface_image_save_skip_set(E_Client *ec, Eina
  */
 E_API Eina_List *e_comp_wl_remote_surface_providers_get(E_Client *ec);
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif
index e10f6c6832bab29952e7f3cfd11c76b31cbe8576..fbe2edddadb83761558bed8c99ac17b7e668742a 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef E_COMP_WL_TBM_H
 #define E_COMP_WL_TBM_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 
 #include <tbm_surface.h>
@@ -21,4 +25,8 @@ struct _E_Comp_Wl_Tbm_Funcs
 E_API   Eina_Bool e_comp_wl_tbm_module_func_set(const char *module_name, E_Comp_Wl_Tbm_Funcs *fn);
 E_API   Eina_Bool e_comp_wl_tbm_module_func_unset(void);
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif
index 35482f80a2b6684008bc01c20fc965d4425ed667..c67ec3e98ba883d52668edaec5bd299cca549f40 100644 (file)
@@ -1,8 +1,16 @@
 #ifndef E_COMP_WL_VIDEO_BUFFER_H
 #define E_COMP_WL_VIDEO_BUFFER_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 
 E_API   void e_comp_wl_video_buffer_list_print(const char *log_path);
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif
index 1ded201b4090113c5bf75c9afc9f75f542bb590b..5fb9262c3cd91c39802159c76f9b46e6d3bba3b0 100644 (file)
@@ -1,10 +1,18 @@
 #ifndef E_COMP_WL_VIEWPORT_H
 #define E_COMP_WL_VIEWPORT_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 
 E_API Eina_Bool e_comp_wl_viewport_create(struct wl_resource *resource,
                                           uint32_t id,
                                           struct wl_resource *surface);
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif
index 3d461d22adbf8d34d7579fd68c3f25cbfdf4c9ea..5bde852711e53f2c8ad77f411fb3a634d83189eb 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef E_CONFIG_H
 #define E_CONFIG_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 #include <e_config_data.h>
 
@@ -73,4 +77,8 @@ E_API void           e_config_interactive_resize_set(Eina_Bool interactive_resiz
 E_API void           e_config_configured_output_resolution_size_get(int *w, int *h);
 E_API Eina_Bool      e_config_configured_output_resolution_use_get(void);
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif
index 1f206d2f6d79b69b31cc38f224a4967f3ce8d885..cf625881b5a8a09a7431de535b7350ecaaaadc1c 100644 (file)
@@ -1,12 +1,16 @@
 #ifndef E_CONFIG_DATA_H
 #define E_CONFIG_DATA_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 
 #include <Eet.h>
 
 /** \def E_CONFIG_DD_NEW(str, typ)
- * is used to create definition of a struct  
+ * is used to create definition of a struct
  * \str str name to give to struct
  * \typ typ the actual struct type
  */
@@ -14,7 +18,7 @@
    e_config_descriptor_new(str, sizeof(typ))
 
 /** \def E_CONFIG_DD_FREE(eed)
- * is used to free definition of a struct  
+ * is used to free definition of a struct
  * \eed eed the pointer created by \link #E_CONFIG_DD_NEW
  */
 #define E_CONFIG_DD_FREE(eed) if (eed) { e_config_descriptor_free((eed)); (eed) = NULL; }
@@ -24,7 +28,7 @@
 
 /** \def E_CONFIG_LIST(edd, type, member, eddtype)
  * declares a struct member to be included definition
- * list type must be Evas_List and not Ecore_List  
+ * list type must be Evas_List and not Ecore_List
  * \edd edd the pointer created by \link #E_CONFIG_DD_NEW
  * \type type struct type
  * \member member member of struct
@@ -34,7 +38,7 @@
 
 /** \def E_CONFIG_HASH(edd, type, member, eddtype)
  * declares a struct member to be included definition
- * list type must be Evas_Hash and not Ecore_Hash  
+ * list type must be Evas_Hash and not Ecore_Hash
  * \edd edd the pointer created by \link #E_CONFIG_DD_NEW
  * \type type struct type
  * \member member member of struct
@@ -60,4 +64,8 @@ E_API E_Config_DD *e_config_descriptor_new(const char *name, int size);
 E_API void e_config_descriptor_free(E_Config_DD *edd);
 E_API E_Config_DD *e_config_descriptor_find(const char *name);
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif
index 8f0143539aead07a6fb9a208762eb427ab193e24..8b0488bcc58e6f129d0fbebdf5694f47b92eb34a 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef E_DBUS_CONN_H
 #define E_DBUS_CONN_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 
 #include <Eldbus.h>
@@ -34,4 +38,8 @@ E_API int e_dbus_conn_shutdown(void);
 E_API E_DBus_Conn_Init_Status e_dbus_conn_init_done_event_status_get(const E_DBus_Conn_Init_Done_Event *event);
 E_API Eldbus_Connection_Type e_dbus_conn_init_done_event_conn_type_get(const E_DBus_Conn_Init_Done_Event *event);
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif
index 064e824967b599296209b40033a937dba49ff407..5dce3ec39c0dc83be5819c6e1d617fe4ea2e05f4 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef E_DESK_H
 #define E_DESK_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 #include <e_desk_area.h>
 #include <e_client.h>
@@ -85,4 +89,8 @@ extern E_API int E_EVENT_DESK_GEOMETRY_CHANGE;
 extern E_API int E_EVENT_DESK_ZOOM_SET;
 extern E_API int E_EVENT_DESK_ZOOM_UNSET;
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif
index d89b3b88be22db9f1b78094fd3819aaa6c2a42d3..9919401b43907c740ae510fd28c4c141ff1fce01 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef E_DESK_AREA_H
 #define E_DESK_AREA_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 #include <e_desk.h>
 #include <e_comp.h>
@@ -42,4 +46,8 @@ E_API   void          e_desk_area_ec_remove(E_Desk_Area *eda, E_Client *ec);
 E_API E_Desk_Area_Hook *e_desk_area_hook_add(E_Desk_Area_Hook_Point hookpoint, E_Desk_Area_Hook_Cb func, const void *data);
 E_API void              e_desk_area_hook_del(E_Desk_Area_Hook *dgh);
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif
index 501debce1ab61adde78a133eacceb5a066113cca..5146693a2b683ea7ef3c11ca4ffef52defa3887e 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef E_DEVICE_H
 #define E_DEVICE_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 
 #include <glib-object.h>
@@ -25,4 +29,8 @@ E_API const GList          *e_device_list_get(void);
 
 G_END_DECLS
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif /* end of include guard: E_DEVICE_H */
\ No newline at end of file
index 49dbe09da91d6a640b5ba4825049d6eebe6eae30..e953f7478c2dc1ef506ac4b3acf83074e9a77571 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef E_DEVICEMGR_H
 #define E_DEVICEMGR_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 
 #include <glib.h>
@@ -61,5 +65,9 @@ E_API void      e_devicemgr_device_list_unlock(void);
 // This is for getting/setting internal value of E_Devicemgr
 E_API Eina_List *e_devicemgr_device_list_get(void);
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif
 
index 78dc2fae343a4f44bfb61cc3649fd2d68c1486b9..3f318e787b6403441511853d192fac13875c515e 100644 (file)
@@ -1,8 +1,16 @@
 #ifndef E_DND_H
 #define E_DND_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 
 typedef struct _E_Drag          E_Drag;
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif
index 647682d9cb60404ea99756315fed30bad8da8d11..c295a50906523b11be708dfdad4dca39a5180248 100644 (file)
@@ -1,8 +1,16 @@
 #ifndef E_EGL_SYNC_H
 #define E_EGL_SYNC_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 
 typedef struct _E_Egl_Sync E_Egl_Sync;
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif // E_EGL_SYNC_H
index 7ad3520815407878977ea33087183921564792f8..a99c18545f5d1b5b998c2db06938d85ff88b2fd8 100644 (file)
@@ -1,8 +1,16 @@
 #ifndef E_EXPLICIT_SYNC_H
 #define E_EXPLICIT_SYNC_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 
 typedef struct _E_Explicit_Sync_Buffer_Release E_Explicit_Sync_Buffer_Release;
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif // E_EXPLICIT_SYNC_H
index 938454915bf528e33568e8a7ee472e7cdd7afd6d..0e5918ecd85be6be698d19f62a4913d0c37583dc 100644 (file)
@@ -1,8 +1,16 @@
 #ifndef E_FOCUS_H
 #define E_FOCUS_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 
 typedef struct _E_Focus E_Focus;
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif
\ No newline at end of file
index 1105c7166cab648bd8418060d38c03d52722496d..1a509425dd5d0a1d8a00539304c55fde11b5bfba 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef E_GESTURE_H
 #define E_GESTURE_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 
 typedef struct _E_Gesture_Info E_Gesture_Info;
@@ -158,4 +162,8 @@ E_API int e_gesture_pan_ungrab(unsigned int fingers);
 E_API int e_gesture_pinch_grab(unsigned int fingers);
 E_API int e_gesture_pinch_ungrab(unsigned int fingers);
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif
index df96c391e6369b7d90630a5265b5c348575001e1..dbf82f3c02749b0231778807e5d3f88f11f0da5b 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef E_HINTS_H
 #define E_HINTS_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 
 E_API void             e_hints_window_visible_set(E_Client *ec);
@@ -11,4 +15,8 @@ E_API Eina_Bool        e_hints_aux_hint_del(E_Client *ec, int32_t id);
 E_API const char      *e_hints_aux_hint_value_get(E_Client *ec, const char *name);
 E_API Eina_Bool        e_hints_aux_hint_change_with_pixmap(E_Pixmap *cp, int32_t id, const char *val);
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif
index 1a0227fc5839725db98d1e5fad83e480e5f2f50d..ea7522dfd75a979949c393294e91d0008e20d3bf 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef E_HWC_H
 #define E_HWC_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 #include <e_hwc_window.h>
 
@@ -100,4 +104,8 @@ E_API void                    e_hwc_deactive_set(E_Hwc *hwc, Eina_Bool set);
 E_API Eina_Bool               e_hwc_deactive_get(E_Hwc *hwc);
 E_API E_Hwc_Policy            e_hwc_hwc_policy_get(E_Hwc *hwc);
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif
index acc0780c321d9bdcb1891468240632493d976d05..c3b1a3e0391de789f0fdbcc8a1e67ad9efc2d7e6 100644 (file)
@@ -1,6 +1,14 @@
 #ifndef E_HWC_WINDOW_H
 #define E_HWC_WINDOW_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 typedef struct _E_Hwc_Window E_Hwc_Window;
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif // E_HWC_WINDOW_H
index a9495128d82a345f95b236dd7b809f7b7d6fea9f..6e2cc0cfe2e42a54ae3e18f48874505fdc401cef 100644 (file)
@@ -1,9 +1,17 @@
 #ifndef E_HWC_WINDOWS_H
 #define E_HWC_WINDOWS_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 
 E_API void e_hwc_windows_debug_dump_start(void);
 E_API void e_hwc_windows_debug_dump_stop(void);
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif
index f9d097df97e76273dda188fd5a0013c110c1a5b9..a6c8850c6f3ddb8d62483e4222161529301eac2f 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef E_INFO_SERVER_H
 #define E_INFO_SERVER_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 #include <e_info_shared_types.h>
 
@@ -48,4 +52,8 @@ E_API void                e_info_server_hook_set(const char *module_name, E_Info
 E_API E_Info_Server_Hook *e_info_server_hook_add(E_Info_Server_Hook_Point hookpoint, E_Info_Server_Hook_Cb func, const void *data);
 E_API void                e_info_server_hook_del(E_Info_Server_Hook *ph);
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif
index 4f982337c20d978fed56fa9e88cd5d4fb34062ed..d5401780287bf451b5f4b1fac49963249d42eb18 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef E_INFO_SERVER_INPUT_H
 #define E_INFO_SERVER_INPUT_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 
 E_API char *e_info_server_input_init_device(unsigned int type, char *name);
@@ -10,4 +14,8 @@ E_API char *e_info_server_input_touchgen(int idx, int x, int y, int state);
 E_API char *e_info_server_input_mousegen(int button, int x, int y, int state);
 E_API char *e_info_server_input_mouse_accel_set(int state);
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif
index b66e75e94c3cc772c4997a5ac226f6c2936a1919..0406e57c4b5ed66e51367bcd3e140944cc6bbeff 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef _E_INFO_SHARED_TYPES_
 #define _E_INFO_SHARED_TYPES_
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 
 #include <Eina.h>
@@ -372,4 +376,8 @@ typedef enum
    "\twinfo -input_elapsed_time key 100\n" \
    "\twinfo -input_elapsed_time mouse 200\n"
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif /* end of _E_INFO_SHARED_TYPES_ */
index 15c1262e2bdcfacfca2d31861dd8a26479b52ba6..4adde978cc206ebaff2e57a0e67bb22153bce504 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef E_INPUT_H
 #define E_INPUT_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 #include <e_device.h> // FIXME: should be removed after module has to be included directly
 #include <e_input_event.h>
@@ -73,4 +77,8 @@ E_API int                   e_input_thread_info_kbd_repeat_rate_get(E_Input_Thre
 E_API void                  e_input_thread_info_kbd_resource_list_lock(E_Input_Thread_Info *input_thread_info);
 E_API void                  e_input_thread_info_kbd_resource_list_unlock(E_Input_Thread_Info *input_thread_info);
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif
index a8f6d5e615c4a003d9622964205de90a82b0a5d6..0e6fd18928d0b1117aaf40b37c79fd70a557c7ac 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef E_INPUT_EVENT_H
 #define E_INPUT_EVENT_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 
 typedef Eina_Bool (*ev_handler_func)(void *func_data, int type, void *user_data);
@@ -21,4 +25,8 @@ E_API void                  e_input_event_filter_del(E_Input_Event_Source *sourc
 
 
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif /* E_INPUT_EVENT_H */
index c3ade791bf352f7f8f75d7e714f109fa93832742..fa7a6e8a09efd646dab5acb541b0f044298dc628 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef E_INPUT_THREAD_CLIENT_H
 #define E_INPUT_THREAD_CLIENT_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 
 typedef struct _E_Input_Thread_Client E_Input_Thread_Client;
@@ -27,4 +31,8 @@ E_API void e_input_thread_client_input_region_get(E_Input_Thread_Client *ec, GLi
 E_API E_Input_Thread_Client *e_input_thread_client_from_surface_resource(struct wl_resource *surface_resource);
 E_API struct wl_resource *e_input_thread_client_wl_resource_get(E_Input_Thread_Client *ec);
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif
index 95d3fea7a716d92aa41dedda6f677c38bcd170fc..af9e9d473214d33a45565900440dd551f4e781f3 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef E_KEYROUTER_H
 #define E_KEYROUTER_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 
 typedef struct _E_Keyrouter_Key_List_Node  E_Keyrouter_Key_List_Node;
@@ -79,5 +83,9 @@ E_API void         e_keyrouter_hardkeys_list_set(E_Keyrouter_Grabbed_Key *hardkeys,
 E_API int        e_keyrouter_hardkeys_keycode_get(E_Keyrouter_Grabbed_Key *hardkeys, uint32_t keycode);
 E_API Eina_Bool  e_keyrouter_hardkeys_repeat_get(E_Keyrouter_Grabbed_Key *hardkeys, uint32_t keycode);
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif
 
index 100f2741a9f6dac8f3b319aa97f729d78bcfa9ca..22385e2fd3f02a589bc2f613eb3d3e1eeaadf984 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef E_LAYOUT_H
 #define E_LAYOUT_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 
 E_API Evas_Object *e_layout_add               (Evas *evas);
@@ -12,4 +16,8 @@ E_API void         e_layout_child_raise       (Evas_Object *obj);
 E_API void         e_layout_unpack            (Evas_Object *obj);
 E_API Eina_List   *e_layout_children_get(Evas_Object *obj);
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif
index b32e97884dbf6cbcacb6ae66e7e1cf77bd75b8c4..426b6d243c1a1c603b22130483c9f33dd24a64d2 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef E_LOG_H
 #define E_LOG_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 #include <e_client.h>
 #include <e_pixmap.h>
@@ -251,5 +255,9 @@ E_API double          e_main_ts(const char *str);
 E_API double          e_main_ts_begin(const char *str);
 E_API double          e_main_ts_end(const char *str);
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif
 
index b40978b13976157c299a4ea30913ac627071a785..1c9bc6c38912155aaf34561d561d56a33cdeab33 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef E_MAIN_H
 #define E_MAIN_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 
 typedef struct _E_Main_Hook E_Main_Hook;
@@ -35,4 +39,8 @@ E_API void e_main_hook_call(E_Main_Hook_Point hookpoint);
 extern void __gcov_flush(void);
 #endif
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif
index 8a7ce33175b97dbf087469246ec0d9b504f84875..3805b818454112d993350fca8391ccb19de8ed7f 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef E_MODULE_H
 #define E_MODULE_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 
 #define E_MODULE_API_VERSION 17
@@ -47,4 +51,8 @@ struct _E_Module_Api
 
 extern E_API int E_EVENT_MODULE_DEFER_JOB;
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif
index 3a8c87375875b32774be9d1ee377408f6e4f6360..d4b24dbdd208ffb07a5b31a65964f7896517c85d 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef E_OBJECT_H
 #define E_OBJECT_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 
 #include <Eina.h>
@@ -102,4 +106,8 @@ E_API void  e_object_breadcrumb_del      (E_Object *obj, char *crumb);
 E_API void  e_object_breadcrumb_debug    (E_Object *obj);
 */
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif
index 38e1c65727a35b729a7335be1c925336e5d8a810..c374419b65253c5ad7ae1b748dbb3f4325679893 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef E_OUTPUT_H
 #define E_OUTPUT_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 #include <e_zone.h>
 #include <e_comp_screen.h>
@@ -160,4 +164,8 @@ E_API const char        *e_output_output_id_get(E_Output *output);
 E_API Eina_Bool          e_output_mode_enabled_get(E_Output *output);
 E_API E_Hwc             *e_output_hwc_get(E_Output *output);
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif
index 66dd30435bdd0bfb4b4e56efa465f96b5e1d7ca1..300effcea3ee458f42b09f65cb142e5a23097713 100644 (file)
@@ -1,6 +1,10 @@
 # ifndef E_PIXMAP_H
 # define E_PIXMAP_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 #include <e_client.h>
 
@@ -49,4 +53,8 @@ E_API void e_pixmap_hook_del(E_Pixmap_Hook *ph);
 
 E_API void e_pixmap_buffer_clear(E_Pixmap *cp, Eina_Bool only_free);
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif
index 3a9c4398a1273fa53ee6db819bd3adb6da74e7d6..b5df0aba055cea7f11e5160226da467ae2f14a4e 100644 (file)
@@ -1,6 +1,9 @@
 #ifndef E_POINTER_H
 #define E_POINTER_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
 
 #include <e_types.h>
 #include <e_object.h>
@@ -66,4 +69,9 @@ E_API Eina_Bool e_pointer_desk_zoom_enable_set(Eina_Bool set);
 E_API Eina_Bool e_pointer_desk_zoom_enable_get(void);
 
 E_API void e_pointer_position_get(E_Pointer *ptr, int *x, int *y);
+
+#ifdef  __cplusplus
+}
+#endif
+
 #endif
index 072c805ee755ae271627b1892266e9bbd996ba2f..c571228a774d07ff5fde56050095f53a8245a72b 100644 (file)
@@ -1,6 +1,10 @@
 # ifndef E_POLICY_H
 # define E_POLICY_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 #include <e_client.h>
 #include <e_zone.h>
@@ -94,4 +98,8 @@ E_API Eina_Bool      e_policy_hook_call(E_Policy_Hook_Point hookpoint, E_Client
 E_API void      e_policy_allow_user_geometry_set(E_Client *ec, Eina_Bool set);
 E_API Eina_Bool e_policy_allow_user_geometry_get(E_Client *ec);
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif
index 2d55dde2b27acd837e62d3509076706360136edd..d42f75340a8c4313ce5fa3837f795d6a1d9568a2 100644 (file)
@@ -1,10 +1,18 @@
 #ifndef E_POLICY_CONFORMANT_H
 #define E_POLICY_CONFORMANT_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 
 E_API Eina_Bool             e_policy_conformant_part_add(E_Client *ec);
 E_API Eina_Bool             e_policy_conformant_part_del(E_Client *ec);
 E_API Eina_Bool             e_policy_conformant_part_update(E_Client *ec);
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif
index 36e02cdced66b50c75a2a8086dbcbc902b3acfb4..f2664e726a70b92e0b7783f3870a6015faba8fb8 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef E_POLICY_PRIVATE_DATA_H
 #define E_POLICY_PRIVATE_DATA_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 
 #include <Eina.h>
@@ -69,4 +73,8 @@ e_policy_angle_get(E_Policy_Angle_Map map)
 /* layer level - E_LAYER_CLIENT_NORMAL (200) */
 /* layer level - E_LAYER_CLIENT_BELOW (150) */
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif
index a42772d42101bac178a9b535dd131863e33da65e..64e5cce3fe2ebfa02c08737cc8b0e807e603e0a7 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef E_POLICY_VISIBILITY_H
 #define E_POLICY_VISIBILITY_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 
 #define E_VIS_JOB_TYPE_ALL (E_VIS_JOB_TYPE_SHOW                    | \
@@ -56,4 +60,8 @@ E_API void                        e_policy_visibility_client_below_uniconify_ski
 E_API E_Pol_Vis_Hook             *e_policy_visibility_hook_add(E_Pol_Vis_Hook_Type type, E_Pol_Vis_Hook_Cb cb, const void *data);
 E_API void                        e_policy_visibility_hook_del(E_Pol_Vis_Hook *h);
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif
index 15fac4244089f9c7f08e678bda1cc62208d31a6f..618b2ebdd7656b25dffab217db81c6d03cd0c872 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef E_POLICY_WL_H
 #define E_POLICY_WL_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 #include <e_client.h>
 #include <e_policy.h>
@@ -34,4 +38,8 @@ E_API void e_policy_wl_activate(E_Client *ec);
 E_API void e_tzsh_qp_state_visible_update(E_Client *ec, Eina_Bool vis, E_Quickpanel_Type type);
 E_API void e_tzsh_qp_state_orientation_update(E_Client *ec, int ridx, E_Quickpanel_Type type);
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif
index f0323318ee30e4a628c33f950f1f608eaf426c5e..300888d0b5719b93b498d36ec1a5ddd6c81cbc20 100644 (file)
@@ -1,8 +1,16 @@
 #ifndef E_PREFIX_H
 #define E_PREFIX_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 
 E_API size_t      e_prefix_data_snprintf(char *dst, size_t size, const char *fmt, ...) EINA_PRINTF(3, 4);
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif
index 73abb6d8039ef655399f438c66d1e097d3b68e41..ba88647e5e12e73bb0f03d45026f282f00cd6b11 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef E_PRESENTATION_TIME_H
 #define E_PRESENTATION_TIME_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 
 typedef struct _E_Presentation_Time_Container E_Presentation_Time_Container;
@@ -10,4 +14,8 @@ struct _E_Presentation_Time_Container
    Eina_List *presentation_feedbacks;
 };
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif // E_PRESENTATION_TIME_H
index 02c14fb25f5344a04cd32b39e00ea8d5fe239dd9..7446ca8344e04716d9a231a6e3ba8a6aa5ddbc1e 100644 (file)
@@ -1,9 +1,17 @@
 #ifndef E_PRIVILEGE_H
 #define E_PRIVILEGE_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 
 extern E_API   const char *E_PRIVILEGE_GESTURE_GRAB;
 extern E_API   const char *E_PRIVILEGE_GESTURE_ACTIVATE;
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif
index dd97d139fbe592cc73b0afa52d4efef89029a9f8..57c1ecb52db0628b868439e5a1512f47b0b03ee8 100644 (file)
@@ -1,6 +1,10 @@
 # ifndef E_PROCESSMGR_H
 # define E_PROCESSMGR_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 
 typedef struct _E_Process         E_Process;
@@ -41,4 +45,8 @@ E_API void            e_process_hook_del(E_Process_Hook *ph);
 E_API pid_t e_process_pid_get(E_Process *proc);
 E_API E_Process_State e_process_state_get(pid_t pid);
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif
index 635578b4d98cbf3e0cbcb7765524b7245af757c5..24f60e43c80cf8993b74d5c92bb5cf8ed2157ffc 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef E_SCREENSAVER_H
 #define E_SCREENSAVER_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 
 E_API   void      e_screensaver_timeout_set(double time);
@@ -14,4 +18,8 @@ E_API extern int E_EVENT_SCREENSAVER_ON;
 E_API extern int E_EVENT_SCREENSAVER_OFF_PRE;
 E_API extern int E_EVENT_SCREENSAVER_OFF;
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif
index c32ad77e41392ec92838ea6a07f86d0d352074bb..eeea877d780bff611cc37d738f0c48a708cfd992 100644 (file)
@@ -1,10 +1,18 @@
 #ifndef E_SEAT_H
 #define E_SEAT_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 #include <e_zone.h>
 
 E_API E_Zone     *e_seat_zone_get(E_Seat *seat);
 E_API E_Seat     *e_seat_find(const char *name);
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif
index d866de6d6e48fc58b7071a268428d7aa9c191c84..285070dea4bc31501572666255bcdf6b0ea70f5b 100644 (file)
@@ -1,8 +1,16 @@
 #ifndef E_SECURITY_H
 #define E_SECURITY_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 
 E_API Eina_Bool e_security_privilege_check(pid_t pid, uid_t uid, const char *privilege);
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif
index 8785ce39af2bd336eabadc1bd84b75bf53626ea8..cce918669d83fa3690e5eb8e0aac86531750729b 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef E_SERVICE_GESTURE_H
 #define E_SERVICE_GESTURE_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 #include <e_policy_private_data.h>
 
@@ -34,4 +38,8 @@ E_API void               e_service_gesture_fingers_set(E_Policy_Gesture *gesture
 E_API void               e_service_gesture_wait_time_set(E_Policy_Gesture *gesture, double wait_time);
 E_API void               e_service_gesture_wait_dist_set(E_Policy_Gesture *gesture, int wait_dist);
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif /* E_SERVICE_GESTURE */
index bb4f34ff1da3a9966778ad4c6b52c8805fc27e39..23f2261c9523b9df22eea27c643e02e973aec96a 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef E_SERVICE_QUICKPANEL_H
 #define E_SERVICE_QUICKPANEL_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 #include <e_policy.h>
 
@@ -51,4 +55,8 @@ E_API Eina_Bool   e_service_quickpanel_module_func_set(E_QP_Mgr_Funcs *fp);
 E_API Eina_Bool   e_service_quickpanel_module_func_unset(void);
 E_API Eina_List  *e_service_quickpanels_get(void);
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif
index ee685f9274191f06f334b86d123389939631f892..fa84f9c80eac73ab27373208846fc6fba1a8c45d 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef E_SERVICE_VIRTUAL_TOUCH_H
 #define E_SERVICE_VIRTUAL_TOUCH_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 #include <e_client.h>
 
@@ -27,4 +31,8 @@ E_API void      e_service_virtual_touch_state_set(E_Service_Virtual_Touch_State
 E_API Eina_Bool e_service_virtual_touch_cb_set(E_Service_Virtual_Touch_Cb cb, void *data);
 E_API void      e_service_virtual_touch_cb_unset(E_Service_Virtual_Touch_Cb cb);
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif /* E_SERVICE_VIRTUAL_TOUCH_H */
index 583b4f64cbc83be2427306ce28295ac1eeeb7559..b36cecb1c09d170dbc80b3ed2fc37095dc755ed2 100644 (file)
@@ -1,8 +1,16 @@
 #ifndef E_THEME_H
 #define E_THEME_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 
 E_API int         e_theme_edje_object_set(Evas_Object *o, const char *category, const char *group);
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif
index 818fae9942b15f7f762181cd23bd48c3bd58649e..bd3fb72eed5488be5543f55dfe8e8a76cd5388f2 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef E_TYPES_H
 #define E_TYPES_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <tdm.h>
 #include <wayland-server.h>
 #include <Eina.h>
@@ -198,4 +202,8 @@ struct _E_Action
 extern Eina_Bool starting;
 extern Eina_Bool stopping;
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif
index 61499a379ae9e05d19ee3d2451de88cf36b64031..39c3c1f9a991426a94e3aed95aa94e898c34315e 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef E_UTIL_TRANSFORM_H
 #define E_UTIL_TRANSFORM_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 #include <e_client.h>
 
@@ -173,4 +177,8 @@ E_API void                         e_util_transform_log(E_Util_Transform *transf
 
 E_API void e_util_transform_matrix_inv_rect_coords_get(E_Util_Transform *transform, E_Util_Transform_Rect_Vertex *vetices, int w, int h, int x, int y, int *out_x, int *out_y);
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif
index 80d8730b3fc1a817547534da9eec57fa52bda3e5..0f60588cd40e052679f3a79e3bce85ae4c8d150f 100644 (file)
@@ -1,10 +1,18 @@
 #ifndef E_UTILS_H
 #define E_UTILS_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 
 E_API char        *e_util_env_get(const char *name);
 E_API int          e_util_strcmp(const char *s1, const char *s2);
 E_API unsigned int e_util_timestamp_get(void);
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif
index a5e327686f3b320a476ec50b0c146d1121c8c51a..6293249b7c61c82c6794401eca02fbc595556ba1 100644 (file)
@@ -1,9 +1,17 @@
 #ifndef _E_VIDEO_DEBUG_H_
 #define _E_VIDEO_DEBUG_H_
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 
 E_API   Eina_Bool   e_video_debug_display_primary_plane_value_get(void);
 E_API   void        e_video_debug_display_primary_plane_set(Eina_Bool set);
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif
index b5c796c42461124ffe44e2f9561f055e39f469f5..9ba2673983e1e3ececf42e7a7a34187c733d1358 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef E_ZONE_H
 #define E_ZONE_H
 
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
 #include <e_types.h>
 #include <e_client.h>
 #include <e_actions.h>
@@ -190,4 +194,8 @@ E_API Eina_Bool   e_zone_rotation_wait_for_done_get(E_Zone *zone);
 E_API void        e_zone_rotation_pending_set(E_Zone *zone, Eina_Bool pending);
 E_API Eina_Bool   e_zone_rotation_pending_get(E_Zone *zone);
 
+#ifdef  __cplusplus
+}
+#endif
+
 #endif