mirror of https://github.com/FreeRDP/FreeRDP
libfreerdp-rail: fix C++ inclusion of header files
This commit is contained in:
parent
7be92579b2
commit
f24cd91bae
|
@ -53,10 +53,18 @@ struct rdp_icon_cache
|
|||
WINDOW_ICON_CACHE* caches;
|
||||
};
|
||||
|
||||
ICON_INFO* icon_cache_get(rdpIconCache* cache, BYTE id, UINT16 index, void** extra);
|
||||
void icon_cache_put(rdpIconCache* cache, BYTE id, UINT16 index, ICON_INFO* entry, void* extra);
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
rdpIconCache* icon_cache_new(rdpRail* rail);
|
||||
void icon_cache_free(rdpIconCache* cache);
|
||||
FREERDP_API ICON_INFO* icon_cache_get(rdpIconCache* cache, BYTE id, UINT16 index, void** extra);
|
||||
FREERDP_API void icon_cache_put(rdpIconCache* cache, BYTE id, UINT16 index, ICON_INFO* entry, void* extra);
|
||||
|
||||
FREERDP_API rdpIconCache* icon_cache_new(rdpRail* rail);
|
||||
FREERDP_API void icon_cache_free(rdpIconCache* cache);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* FREERDP_RAIL_ICON_CACHE_H */
|
||||
|
|
|
@ -61,9 +61,17 @@ struct rdp_rail
|
|||
railDesktopNonMonitored rail_DesktopNonMonitored;
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
FREERDP_API void rail_register_update_callbacks(rdpRail* rail, rdpUpdate* update);
|
||||
|
||||
FREERDP_API rdpRail* rail_new(rdpSettings* settings);
|
||||
FREERDP_API void rail_free(rdpRail* rail);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* FREERDP_RAIL_H */
|
||||
|
|
|
@ -68,10 +68,18 @@ struct rdp_window
|
|||
RECTANGLE_16* visibilityRects;
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
FREERDP_API void window_state_update(rdpWindow* window, WINDOW_ORDER_INFO* orderInfo, WINDOW_STATE_ORDER* window_state);
|
||||
|
||||
FREERDP_API void rail_CreateWindow(rdpRail* rail, rdpWindow* window);
|
||||
FREERDP_API void rail_UpdateWindow(rdpRail* rail, rdpWindow* window);
|
||||
FREERDP_API void rail_DestroyWindow(rdpRail* rail, rdpWindow* window);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* FREERDP_RAIL_WINDOW_H */
|
||||
|
|
|
@ -39,6 +39,10 @@ struct rdp_window_list
|
|||
rdpWindow* iterator;
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
FREERDP_API void window_list_rewind(rdpWindowList* list);
|
||||
FREERDP_API BOOL window_list_has_next(rdpWindowList* list);
|
||||
FREERDP_API rdpWindow* window_list_get_next(rdpWindowList* list);
|
||||
|
@ -54,4 +58,8 @@ FREERDP_API void window_list_clear(rdpWindowList* list);
|
|||
FREERDP_API rdpWindowList* window_list_new(rdpRail* rail);
|
||||
FREERDP_API void window_list_free(rdpWindowList* list);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* FREERDP_RAIL_WINDOW_LIST_H */
|
||||
|
|
Loading…
Reference in New Issue