FreeRDP
Loading...
Searching...
No Matches
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
28BOOL xf_rail_paint(xfContext* xfc, const RECTANGLE_16* rect);
29BOOL xf_rail_paint_surface(xfContext* xfc, UINT64 windowId, const RECTANGLE_16* rect);
30
31BOOL xf_rail_send_client_system_command(xfContext* xfc, UINT64 windowId, UINT16 command);
32void xf_rail_send_activate(xfContext* xfc, Window xwindow, BOOL enabled);
33void xf_rail_adjust_position(xfContext* xfc, xfAppWindow* appWindow);
34void xf_rail_end_local_move(xfContext* xfc, xfAppWindow* appWindow);
35void xf_rail_enable_remoteapp_mode(xfContext* xfc);
36void xf_rail_disable_remoteapp_mode(xfContext* xfc);
37
38xfAppWindow* xf_rail_add_window(xfContext* xfc, UINT64 id, INT32 x, INT32 y, UINT32 width,
39 UINT32 height, UINT32 surfaceId);
40xfAppWindow* xf_rail_get_window(xfContext* xfc, UINT64 id);
41
42BOOL xf_rail_del_window(xfContext* xfc, UINT64 id);
43
44int xf_rail_init(xfContext* xfc, RailClientContext* rail);
45int xf_rail_uninit(xfContext* xfc, RailClientContext* rail);
46
47#endif /* FREERDP_CLIENT_X11_RAIL_H */