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>
|
|
|
|
*
|
|
|
|
* 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;
|
|
|
|
|
2014-11-21 00:19:29 +03:00
|
|
|
typedef int (*pcRdpeiGetVersion)(RdpeiClientContext* context);typedef int (*pcRdpeiAddContact)(RdpeiClientContext* context, RDPINPUT_CONTACT_DATA* contact);
|
2013-05-14 00:07:42 +04:00
|
|
|
|
2013-06-07 02:14:59 +04:00
|
|
|
typedef int (*pcRdpeiTouchBegin)(RdpeiClientContext* context, int externalId, int x, int y);
|
|
|
|
typedef int (*pcRdpeiTouchUpdate)(RdpeiClientContext* context, int externalId, int x, int y);
|
|
|
|
typedef int (*pcRdpeiTouchEnd)(RdpeiClientContext* context, int externalId, int x, int y);
|
2013-05-15 01:45:52 +04:00
|
|
|
|
2014-03-11 19:55:38 +04:00
|
|
|
typedef int (*pcRdpeiSuspendTouch)(RdpeiClientContext* context);
|
|
|
|
typedef int (*pcRdpeiResumeTouch)(RdpeiClientContext* context);
|
|
|
|
|
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 */
|