freerdp: fix headers for C++

This commit is contained in:
Marc-André Moreau 2014-09-25 14:15:57 -04:00
parent ff07469386
commit 4f1fae38bb
2 changed files with 9 additions and 1 deletions

View File

@ -20,7 +20,6 @@
#ifndef FREERDP_CODEC_REMOTEFX_H
#define FREERDP_CODEC_REMOTEFX_H
typedef enum _RLGR_MODE RLGR_MODE;
typedef struct _RFX_RECT RFX_RECT;
typedef struct _RFX_TILE RFX_TILE;
typedef struct _RFX_MESSAGE RFX_MESSAGE;
@ -42,6 +41,7 @@ enum _RLGR_MODE
RLGR1,
RLGR3
};
typedef enum _RLGR_MODE RLGR_MODE;
struct _RFX_RECT
{

View File

@ -47,8 +47,16 @@ struct gdi_gfx_cache_entry
};
typedef struct gdi_gfx_cache_entry gdiGfxCacheEntry;
#ifdef __cplusplus
extern "C" {
#endif
FREERDP_API void gdi_graphics_pipeline_init(rdpGdi* gdi, RdpgfxClientContext* gfx);
FREERDP_API void gdi_graphics_pipeline_uninit(rdpGdi* gdi, RdpgfxClientContext* gfx);
#ifdef __cplusplus
}
#endif
#endif /* FREERDP_GDI_GFX_H */