FreeRDP
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Modules Pages
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
22#include "android_event.h"
23
24typedef struct
25{
26 rdpClientContext common;
27
28 ANDROID_EVENT_QUEUE* event_queue;
29 HANDLE thread;
30
31 BOOL is_connected;
32
33 BOOL clipboardSync;
34 wClipboard* clipboard;
35 UINT32 numServerFormats;
36 UINT32 requestedFormatId;
37 HANDLE clipboardRequestEvent;
38 CLIPRDR_FORMAT* serverFormats;
39 CliprdrClientContext* cliprdr;
40 UINT32 clipboardCapabilities;
42
43#endif /* FREERDP_CLIENT_ANDROID_FREERDP_H */