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
23#include "android_event.h"
24
25typedef struct
26{
27 rdpClientContext common;
28
29 ANDROID_EVENT_QUEUE* event_queue;
30 HANDLE thread;
31
32 BOOL is_connected;
33
34 BOOL clipboardSync;
35 wClipboard* clipboard;
36 UINT32 numServerFormats;
37 UINT32 requestedFormatId;
38 HANDLE clipboardRequestEvent;
39 CLIPRDR_FORMAT* serverFormats;
40 CliprdrClientContext* cliprdr;
41 UINT32 clipboardCapabilities;
42
43 DispClientContext* disp;
45
46#endif /* FREERDP_CLIENT_ANDROID_FREERDP_H */