20 #ifndef FREERDP_SERVER_MAC_EVENT_H
21 #define FREERDP_SERVER_MAC_EVENT_H
34 FREERDP_SERVER_MAC_EVENT_TYPE_REGION,
35 FREERDP_SERVER_MAC_EVENT_TYPE_FRAME_TICK
49 pthread_mutex_t mutex;
62 void mf_event_push(mfEventQueue* event_queue, mfEvent* event);
63 mfEvent* mf_event_peek(mfEventQueue* event_queue);
64 mfEvent* mf_event_pop(mfEventQueue* event_queue);
66 mfEventRegion* mf_event_region_new(
int x,
int y,
int width,
int height);
67 void mf_event_region_free(mfEventRegion* event_region);
69 mfEvent* mf_event_new(
int type);
70 void mf_event_free(mfEvent* event);
72 mfEventQueue* mf_event_queue_new(
void);
73 void mf_event_queue_free(mfEventQueue* event_queue);