FreeRDP
ios_freerdp_events.h
1 /*
2  RDP event queuing
3 
4  Copyright 2013 Thincast Technologies GmbH, Author: Dorian Johnson
5 
6  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
7  If a copy of the MPL was not distributed with this file, You can obtain one at
8  http://mozilla.org/MPL/2.0/.
9  */
10 
11 #ifndef IOS_RDP_EVENT_H
12 #define IOS_RDP_EVENT_H
13 
14 #import <Foundation/Foundation.h>
15 #import "ios_freerdp.h"
16 
17 // For UI: use to send events
18 BOOL ios_events_send(mfInfo *mfi, NSDictionary *event_description);
19 
20 // For connection runloop: use to poll for queued input events
21 HANDLE ios_events_get_handle(mfInfo *mfi);
22 BOOL ios_events_check_handle(mfInfo *mfi);
23 
24 BOOL ios_events_create_pipe(mfInfo *mfi);
25 void ios_events_free_pipe(mfInfo *mfi);
26 
27 #endif /* IOS_RDP_EVENT_H */