FreeRDP
xf_rail.h
1 
20 #ifndef FREERDP_CLIENT_X11_RAIL_H
21 #define FREERDP_CLIENT_X11_RAIL_H
22 
23 #include "xf_client.h"
24 #include "xfreerdp.h"
25 
26 #include <freerdp/client/rail.h>
27 
28 BOOL xf_rail_paint(xfContext* xfc, const RECTANGLE_16* rect);
29 BOOL xf_rail_paint_surface(xfContext* xfc, UINT64 windowId, const RECTANGLE_16* rect);
30 
31 BOOL xf_rail_send_client_system_command(xfContext* xfc, UINT64 windowId, UINT16 command);
32 void xf_rail_send_activate(xfContext* xfc, Window xwindow, BOOL enabled);
33 void xf_rail_adjust_position(xfContext* xfc, xfAppWindow* appWindow);
34 void xf_rail_end_local_move(xfContext* xfc, xfAppWindow* appWindow);
35 void xf_rail_enable_remoteapp_mode(xfContext* xfc);
36 void xf_rail_disable_remoteapp_mode(xfContext* xfc);
37 
38 xfAppWindow* xf_rail_add_window(xfContext* xfc, UINT64 id, UINT32 x, UINT32 y, UINT32 width,
39  UINT32 height, UINT32 surfaceId);
40 xfAppWindow* xf_rail_get_window(xfContext* xfc, UINT64 id);
41 
42 BOOL xf_rail_del_window(xfContext* xfc, UINT64 id);
43 
44 int xf_rail_init(xfContext* xfc, RailClientContext* rail);
45 int xf_rail_uninit(xfContext* xfc, RailClientContext* rail);
46 
47 #endif /* FREERDP_CLIENT_X11_RAIL_H */