From 2baa64efc239c53e80b99d40fb98d24aeccba621 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Moreau?= Date: Mon, 8 Apr 2013 18:27:59 -0400 Subject: [PATCH] wfreerdp: fix C++ header --- client/Windows/wf_interface.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/client/Windows/wf_interface.h b/client/Windows/wf_interface.h index 9e4da8fd5..c9f8a3ef3 100644 --- a/client/Windows/wf_interface.h +++ b/client/Windows/wf_interface.h @@ -38,6 +38,10 @@ #include "wf_event.h" +#ifdef __cplusplus +extern "C" { +#endif + struct wf_bitmap { rdpBitmap _bitmap; @@ -109,6 +113,10 @@ struct wf_info BOOL sw_gdi; }; +/** + * Client Interface + */ + #define cfInfo wfInfo FREERDP_API int freerdp_client_global_init(); @@ -120,4 +128,8 @@ FREERDP_API int freerdp_client_stop(wfInfo* cfi); FREERDP_API cfInfo* freerdp_client_new(int argc, char** argv); FREERDP_API int freerdp_client_free(wfInfo* cfi); +#ifdef __cplusplus +} +#endif + #endif