2013-05-14 00:07:42 +04:00
|
|
|
/**
|
|
|
|
* FreeRDP: A Remote Desktop Protocol Implementation
|
|
|
|
* Dynamic Virtual Channel Extension
|
|
|
|
*
|
|
|
|
* Copyright 2013 Marc-Andre Moreau <marcandre.moreau@gmail.com>
|
2015-06-09 13:46:10 +03:00
|
|
|
* Copyright 2015 Thincast Technologies GmbH
|
|
|
|
* Copyright 2015 DI (FH) Martin Haimberger <martin.haimberger@thincast.com>
|
2013-05-14 00:07:42 +04:00
|
|
|
*
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
* You may obtain a copy of the License at
|
|
|
|
*
|
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
*
|
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
* See the License for the specific language governing permissions and
|
|
|
|
* limitations under the License.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef FREERDP_CHANNEL_CLIENT_RDPEI_H
|
|
|
|
#define FREERDP_CHANNEL_CLIENT_RDPEI_H
|
|
|
|
|
2014-11-21 00:19:29 +03:00
|
|
|
#include <freerdp/channels/rdpei.h>
|
2013-05-14 03:17:25 +04:00
|
|
|
|
2013-05-14 00:07:42 +04:00
|
|
|
/**
|
|
|
|
* Client Interface
|
|
|
|
*/
|
|
|
|
|
|
|
|
typedef struct _rdpei_client_context RdpeiClientContext;
|
|
|
|
|
2015-06-09 13:46:10 +03:00
|
|
|
typedef int (*pcRdpeiGetVersion)(RdpeiClientContext* context);
|
2015-08-27 15:25:09 +03:00
|
|
|
typedef UINT (*pcRdpeiAddContact)(RdpeiClientContext* context, RDPINPUT_CONTACT_DATA* contact);
|
2013-05-14 00:07:42 +04:00
|
|
|
|
2015-08-27 15:25:09 +03:00
|
|
|
typedef UINT (*pcRdpeiTouchBegin)(RdpeiClientContext* context, int externalId, int x, int y, int* contactId);
|
|
|
|
typedef UINT (*pcRdpeiTouchUpdate)(RdpeiClientContext* context, int externalId, int x, int y, int* contactId);
|
|
|
|
typedef UINT (*pcRdpeiTouchEnd)(RdpeiClientContext* context, int externalId, int x, int y, int* contactId);
|
2013-05-15 01:45:52 +04:00
|
|
|
|
2015-08-27 15:25:09 +03:00
|
|
|
typedef UINT (*pcRdpeiSuspendTouch)(RdpeiClientContext* context);
|
|
|
|
typedef UINT (*pcRdpeiResumeTouch)(RdpeiClientContext* context);
|
2014-03-11 19:55:38 +04:00
|
|
|
|
2013-05-14 00:07:42 +04:00
|
|
|
struct _rdpei_client_context
|
|
|
|
{
|
|
|
|
void* handle;
|
2013-05-14 01:39:53 +04:00
|
|
|
void* custom;
|
|
|
|
|
2013-05-14 00:07:42 +04:00
|
|
|
pcRdpeiGetVersion GetVersion;
|
2013-05-15 01:45:52 +04:00
|
|
|
|
2013-05-15 03:26:01 +04:00
|
|
|
pcRdpeiAddContact AddContact;
|
2013-06-07 02:14:59 +04:00
|
|
|
|
|
|
|
pcRdpeiTouchBegin TouchBegin;
|
|
|
|
pcRdpeiTouchUpdate TouchUpdate;
|
|
|
|
pcRdpeiTouchEnd TouchEnd;
|
2014-03-11 19:55:38 +04:00
|
|
|
|
|
|
|
pcRdpeiSuspendTouch SuspendTouch;
|
|
|
|
pcRdpeiResumeTouch ResumeTouch;
|
2013-05-14 00:07:42 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* FREERDP_CHANNEL_CLIENT_RDPEI_H */
|