FreeRDP
xf_disp.h
1 
19 #ifndef FREERDP_CLIENT_X11_DISP_H
20 #define FREERDP_CLIENT_X11_DISP_H
21 
22 #include <freerdp/types.h>
23 #include <freerdp/client/disp.h>
24 
25 #include "xf_client.h"
26 #include "xfreerdp.h"
27 
28 FREERDP_API BOOL xf_disp_init(xfDispContext* xfDisp, DispClientContext* disp);
29 FREERDP_API BOOL xf_disp_uninit(xfDispContext* xfDisp, DispClientContext* disp);
30 
31 void xf_disp_free(xfDispContext* disp);
32 
33 WINPR_ATTR_MALLOC(xf_disp_free, 1)
34 xfDispContext* xf_disp_new(xfContext* xfc);
35 
36 BOOL xf_disp_handle_xevent(xfContext* xfc, const XEvent* event);
37 BOOL xf_disp_handle_configureNotify(xfContext* xfc, int width, int height);
38 void xf_disp_resized(xfDispContext* disp);
39 
40 #endif /* FREERDP_CLIENT_X11_DISP_H */