~ubuntu-branches/ubuntu/raring/freerdp/raring-proposed

« back to all changes in this revision

Viewing changes to include/freerdp/constants_ui.h

  • Committer: Package Import Robot
  • Author(s): Martin Pitt, Jeremy Bicha, Jean-Louis Dupond, Martin Pitt
  • Date: 2012-01-31 10:02:14 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20120131100214-jaok3uwvni7sqxth
Tags: 1.0.0-0git1
Upload current Debian packaging git to get this rolling for precise.

[ Jeremy Bicha ]
* New upstream release. Closes: #647498.
* Updated symbols and bumped soname
* debian/control:
  - Added new build dependencies
  - Bump Standards-Version to 3.9.2
* debian/source/format: Set to 3.0 (quilt)
* debian/rules: Turn on strict symbols checking
* debian/watch: Watch github

[ Jean-Louis Dupond ]
* debian/control: Updated homepage
* debian/copyright: Reflect upstream switch to the Apache license

[ Martin Pitt ]
* debian/libfreerdp0.symbols: Fix version number, should
  be 1.0~beta5, not 1.0-beta5.
* debian/control: Add libavcodec-dev build dependency, upstream build system
  checks for that. Thanks Jean-Louis Dupond!

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
   Copyright (c) 2009 Jay Sorg
3
 
 
4
 
   Permission is hereby granted, free of charge, to any person obtaining a
5
 
   copy of this software and associated documentation files (the "Software"),
6
 
   to deal in the Software without restriction, including without limitation
7
 
   the rights to use, copy, modify, merge, publish, distribute, sublicense,
8
 
   and/or sell copies of the Software, and to permit persons to whom the
9
 
   Software is furnished to do so, subject to the following conditions:
10
 
 
11
 
   The above copyright notice and this permission notice shall be included
12
 
   in all copies or substantial portions of the Software.
13
 
 
14
 
   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
15
 
   OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
 
   FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
 
   AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
 
   LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
19
 
   FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20
 
   DEALINGS IN THE SOFTWARE.
21
 
 
22
 
   these are the types needed for the ui interface
23
 
   self contained file, requires no other includes
24
 
 
25
 
*/
26
 
 
27
 
#ifndef __CONSTANTS_UI_H
28
 
#define __CONSTANTS_UI_H
29
 
 
30
 
/* TCP port for Remote Desktop Protocol */
31
 
#define TCP_PORT_RDP 3389
32
 
 
33
 
enum RDP_INPUT_DEVICE
34
 
{
35
 
        RDP_INPUT_SYNC = 0x0000,
36
 
        RDP_INPUT_SCANCODE = 0x0004,
37
 
        RDP_INPUT_UNICODE = 0x0005,
38
 
        RDP_INPUT_MOUSE = 0x8001,
39
 
        RDP_INPUT_MOUSEX = 0x8002
40
 
};
41
 
 
42
 
/* Device flags */
43
 
#define KBD_FLAG_RIGHT          0x0001
44
 
#define KBD_FLAG_EXT            0x0100
45
 
#define KBD_FLAG_QUIET          0x1000
46
 
#define KBD_FLAG_DOWN           0x4000
47
 
#define KBD_FLAG_UP             0x8000
48
 
 
49
 
/* Toggle key synchronization */
50
 
#define KBD_SYNC_SCROLL_LOCK    0x0001
51
 
#define KBD_SYNC_NUM_LOCK       0x0002
52
 
#define KBD_SYNC_CAPS_LOCK      0x0004
53
 
#define KBD_SYNC_KANA_LOCK      0x0008
54
 
 
55
 
/* See T.128 */
56
 
#define RDP_KEYPRESS 0
57
 
#define RDP_KEYRELEASE (KBD_FLAG_DOWN | KBD_FLAG_UP)
58
 
 
59
 
/* these are the old style defines, PTRFLAGS_* is the new defines, use them */
60
 
#define MOUSE_FLAG_MOVE         0x0800
61
 
#define MOUSE_FLAG_BUTTON1      0x1000
62
 
#define MOUSE_FLAG_BUTTON2      0x2000
63
 
#define MOUSE_FLAG_BUTTON3      0x4000
64
 
#define MOUSE_FLAG_BUTTON4      0x0280
65
 
#define MOUSE_FLAG_BUTTON5      0x0380
66
 
#define MOUSE_FLAG_DOWN         0x8000
67
 
 
68
 
#define PTRFLAGS_WHEEL_NEGATIVE 0x0100
69
 
#define PTRFLAGS_WHEEL          0x0200
70
 
#define PTRFLAGS_BUTTON1        0x1000
71
 
#define PTRFLAGS_BUTTON2        0x2000
72
 
#define PTRFLAGS_BUTTON3        0x4000
73
 
#define PTRFLAGS_MOVE           0x0800
74
 
#define PTRFLAGS_DOWN           0x8000
75
 
 
76
 
#define PERF_FLAG_NONE                  0x00000000
77
 
#define PERF_DISABLE_WALLPAPER          0x00000001
78
 
#define PERF_DISABLE_FULLWINDOWDRAG     0x00000002
79
 
#define PERF_DISABLE_MENUANIMATIONS     0x00000004
80
 
#define PERF_DISABLE_THEMING            0x00000008
81
 
#define PERF_RESERVED1                  0x00000010
82
 
#define PERF_DISABLE_CURSOR_SHADOW      0x00000020
83
 
#define PERF_DISABLE_CURSORSETTINGS     0x00000040
84
 
#define PERF_ENABLE_FONT_SMOOTHING      0x00000080
85
 
#define PERF_ENABLE_DESKTOP_COMPOSITION 0x00000100
86
 
 
87
 
#endif