Blame include/freerdp/client/rdpei.h

Packit Service fa4841
/**
Packit Service fa4841
 * FreeRDP: A Remote Desktop Protocol Implementation
Packit Service fa4841
 * Dynamic Virtual Channel Extension
Packit Service fa4841
 *
Packit Service fa4841
 * Copyright 2013 Marc-Andre Moreau <marcandre.moreau@gmail.com>
Packit Service fa4841
 * Copyright 2015 Thincast Technologies GmbH
Packit Service fa4841
 * Copyright 2015 DI (FH) Martin Haimberger <martin.haimberger@thincast.com>
Packit Service fa4841
 *
Packit Service fa4841
 * Licensed under the Apache License, Version 2.0 (the "License");
Packit Service fa4841
 * you may not use this file except in compliance with the License.
Packit Service fa4841
 * You may obtain a copy of the License at
Packit Service fa4841
 *
Packit Service fa4841
 *     http://www.apache.org/licenses/LICENSE-2.0
Packit Service fa4841
 *
Packit Service fa4841
 * Unless required by applicable law or agreed to in writing, software
Packit Service fa4841
 * distributed under the License is distributed on an "AS IS" BASIS,
Packit Service fa4841
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Packit Service fa4841
 * See the License for the specific language governing permissions and
Packit Service fa4841
 * limitations under the License.
Packit Service fa4841
 */
Packit Service fa4841
Packit Service fa4841
#ifndef FREERDP_CHANNEL_RDPEI_CLIENT_RDPEI_H
Packit Service fa4841
#define FREERDP_CHANNEL_RDPEI_CLIENT_RDPEI_H
Packit Service fa4841
Packit Service fa4841
#include <freerdp/channels/rdpei.h>
Packit Service fa4841
Packit Service fa4841
/**
Packit Service fa4841
 * Client Interface
Packit Service fa4841
 */
Packit Service fa4841
Packit Service fa4841
typedef struct _rdpei_client_context RdpeiClientContext;
Packit Service fa4841
Packit Service fa4841
typedef int (*pcRdpeiGetVersion)(RdpeiClientContext* context);
Packit Service bb5c11
typedef UINT (*pcRdpeiAddContact)(RdpeiClientContext* context, RDPINPUT_CONTACT_DATA* contact);
Packit Service fa4841
Packit Service bb5c11
typedef UINT (*pcRdpeiTouchBegin)(RdpeiClientContext* context, int externalId, int x, int y, int* contactId);
Packit Service bb5c11
typedef UINT (*pcRdpeiTouchUpdate)(RdpeiClientContext* context, int externalId, int x, int y, int* contactId);
Packit Service bb5c11
typedef UINT (*pcRdpeiTouchEnd)(RdpeiClientContext* context, int externalId, int x, int y, int* contactId);
Packit Service fa4841
Packit Service fa4841
typedef UINT (*pcRdpeiSuspendTouch)(RdpeiClientContext* context);
Packit Service fa4841
typedef UINT (*pcRdpeiResumeTouch)(RdpeiClientContext* context);
Packit Service fa4841
Packit Service fa4841
struct _rdpei_client_context
Packit Service fa4841
{
Packit Service fa4841
	void* handle;
Packit Service fa4841
	void* custom;
Packit Service fa4841
Packit Service fa4841
	pcRdpeiGetVersion GetVersion;
Packit Service fa4841
Packit Service fa4841
	pcRdpeiAddContact AddContact;
Packit Service fa4841
Packit Service fa4841
	pcRdpeiTouchBegin TouchBegin;
Packit Service fa4841
	pcRdpeiTouchUpdate TouchUpdate;
Packit Service fa4841
	pcRdpeiTouchEnd TouchEnd;
Packit Service fa4841
Packit Service fa4841
	pcRdpeiSuspendTouch SuspendTouch;
Packit Service fa4841
	pcRdpeiResumeTouch ResumeTouch;
Packit Service fa4841
};
Packit Service fa4841
Packit Service fa4841
#endif /* FREERDP_CHANNEL_RDPEI_CLIENT_RDPEI_H */