FreeRDP/client/Android/android_freerdp.h
akallabeth 7641710f60 Use a client/common context component
* Allows moving common client code from specific client to a
  generic client/common implementation
2022-02-22 09:44:13 +01:00

44 lines
961 B
C

/*
Android JNI Client Layer
Copyright 2013 Thincast Technologies GmbH, Author: Martin Fleisz
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
If a copy of the MPL was not distributed with this file, You can obtain one at
http://mozilla.org/MPL/2.0/.
*/
#ifndef FREERDP_CLIENT_ANDROID_FREERDP_H
#define FREERDP_CLIENT_ANDROID_FREERDP_H
#include <jni.h>
#include <winpr/crt.h>
#include <winpr/clipboard.h>
#include <freerdp/freerdp.h>
#include <freerdp/client/cliprdr.h>
#include "android_event.h"
typedef struct
{
rdpClientContext common;
ANDROID_EVENT_QUEUE* event_queue;
HANDLE thread;
BOOL is_connected;
BOOL clipboardSync;
wClipboard* clipboard;
UINT32 numServerFormats;
UINT32 requestedFormatId;
HANDLE clipboardRequestEvent;
CLIPRDR_FORMAT* serverFormats;
CliprdrClientContext* cliprdr;
UINT32 clipboardCapabilities;
} androidContext;
#endif /* FREERDP_CLIENT_ANDROID_FREERDP_H */