21 #ifndef FREERDP_SERVER_MAC_INTERFACE_H
22 #define FREERDP_SERVER_MAC_INTERFACE_H
26 #include <freerdp/config.h>
27 #include <freerdp/codec/rfx.h>
28 #include <freerdp/codec/nsc.h>
29 #include <freerdp/listener.h>
30 #include <freerdp/freerdp.h>
32 #include <winpr/crt.h>
34 #ifdef WITH_SERVER_CHANNELS
35 #include <freerdp/channels/wtsvc.h>
38 #ifdef CHANNEL_RDPSND_SERVER
39 #include <freerdp/server/rdpsnd.h>
40 #include "mf_rdpsnd.h"
43 #ifdef CHANNEL_AUDIN_SERVER
44 #include <freerdp/server/audin.h>
59 RFX_CONTEXT* rfx_context;
60 NSC_CONTEXT* nsc_context;
62 #ifdef WITH_SERVER_CHANNELS
66 #ifdef CHANNEL_AUDIN_SERVER
67 audin_server_context* audin;
70 #ifdef CHANNEL_RDPSND_SERVER
71 RdpsndServerContext* rdpsnd;
81 UINT32 virtscreen_width;
82 UINT32 virtscreen_height;
83 UINT32 servscreen_width;
84 UINT32 servscreen_height;
85 UINT32 servscreen_xoffset;
86 UINT32 servscreen_yoffset;
93 unsigned int framesWaiting;
97 pthread_mutex_t mutex;
100 BOOL mouse_down_right;
101 BOOL mouse_down_other;
103 BOOL force_all_disconnect;