FreeRDP
Loading...
Searching...
No Matches
android_freerdp.h
1/*
2 Android JNI Client Layer
3
4 Copyright 2013 Thincast Technologies GmbH, Author: Martin Fleisz
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 FREERDP_CLIENT_ANDROID_FREERDP_H
12#define FREERDP_CLIENT_ANDROID_FREERDP_H
13
14#include <jni.h>
15
16#include <winpr/crt.h>
17#include <winpr/clipboard.h>
18
19#include <freerdp/freerdp.h>
20#include <freerdp/client/cliprdr.h>
21#include <freerdp/client/disp.h>
22#include <freerdp/client/rail.h>
23
24#include "android_event.h"
25
26typedef struct
27{
28 rdpClientContext common;
29
30 ANDROID_EVENT_QUEUE* event_queue;
31 HANDLE thread;
32
33 BOOL is_connected;
34
35 BOOL clipboardSync;
36 wClipboard* clipboard;
37 UINT32 numServerFormats;
38 UINT32 requestedFormatId;
39 HANDLE clipboardRequestEvent;
40 CLIPRDR_FORMAT* serverFormats;
41 CliprdrClientContext* cliprdr;
42 UINT32 clipboardCapabilities;
43
44 DispClientContext* disp;
45 RailClientContext* rail;
46 BOOL railExecSent;
48
49#endif /* FREERDP_CLIENT_ANDROID_FREERDP_H */