~paulliu/ubuntu/precise/freerdp/fixext

« back to all changes in this revision

Viewing changes to server/X11/xf_input.h

  • Committer: Package Import Robot
  • Author(s): Otavio Salvador
  • Date: 2012-02-11 10:34:05 UTC
  • mfrom: (1.2.2)
  • mto: This revision was merged to the branch mainline in revision 13.
  • Revision ID: package-import@ubuntu.com-20120211103405-x2wgdb6x8plb7cdk
Tags: upstream-1.0.1
ImportĀ upstreamĀ versionĀ 1.0.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/**
 
2
 * FreeRDP: A Remote Desktop Protocol Client
 
3
 * X11 Server Input
 
4
 *
 
5
 * Copyright 2011 Marc-Andre Moreau <marcandre.moreau@gmail.com>
 
6
 *
 
7
 * Licensed under the Apache License, Version 2.0 (the "License");
 
8
 * you may not use this file except in compliance with the License.
 
9
 * You may obtain a copy of the License at
 
10
 *
 
11
 *     http://www.apache.org/licenses/LICENSE-2.0
 
12
 *
 
13
 * Unless required by applicable law or agreed to in writing, software
 
14
 * distributed under the License is distributed on an "AS IS" BASIS,
 
15
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 
16
 * See the License for the specific language governing permissions and
 
17
 * limitations under the License.
 
18
 */
 
19
 
 
20
#ifndef __XF_INPUT_H
 
21
#define __XF_INPUT_H
 
22
 
 
23
#include <pthread.h>
 
24
 
 
25
#include "xfreerdp.h"
 
26
 
 
27
void xf_input_synchronize_event(rdpInput* input, uint32 flags);
 
28
void xf_input_keyboard_event(rdpInput* input, uint16 flags, uint16 code);
 
29
void xf_input_unicode_keyboard_event(rdpInput* input, uint16 flags, uint16 code);
 
30
void xf_input_mouse_event(rdpInput* input, uint16 flags, uint16 x, uint16 y);
 
31
void xf_input_extended_mouse_event(rdpInput* input, uint16 flags, uint16 x, uint16 y);
 
32
void xf_input_register_callbacks(rdpInput* input);
 
33
 
 
34
#endif /* __XF_INPUT_H */