~ubuntu-branches/debian/lenny/italc/lenny

« back to all changes in this revision

Viewing changes to master/icv/include/vnctypes.h

  • Committer: Bazaar Package Importer
  • Author(s): Patrick Winnertz
  • Date: 2008-06-17 13:46:54 UTC
  • mto: This revision was merged to the branch mainline in revision 5.
  • Revision ID: james.westby@ubuntu.com-20080617134654-2y5m7ki93r5c1ysf
Tags: upstream-1.0.9~rc3
ImportĀ upstreamĀ versionĀ 1.0.9~rc3

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 *  Copyright (C) 2002 Tim Jansen.  All Rights Reserved.
3
 
 *  Copyright (C) 2000, 2001 Const Kaplinsky.  All Rights Reserved.
4
 
 *  Copyright (C) 2000 Tridia Corporation.  All Rights Reserved.
5
 
 *  Copyright (C) 1999 AT&T Laboratories Cambridge.  All Rights Reserved.
6
 
 *
7
 
 *  This is free software; you can redistribute it and/or modify
8
 
 *  it under the terms of the GNU General Public License as published by
9
 
 *  the Free Software Foundation; either version 2 of the License, or
10
 
 *  (at your option) any later version.
11
 
 *
12
 
 *  This software is distributed in the hope that it will be useful,
13
 
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
14
 
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
 
 *  GNU General Public License for more details.
16
 
 *
17
 
 *  You should have received a copy of the GNU General Public License
18
 
 *  along with this software; if not, write to the Free Software
19
 
 *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,
20
 
 *  USA.
21
 
 */
22
 
 
23
 
#ifndef VNCTYPES_H
24
 
#define VNCTYPES_H
25
 
 
26
 
#if defined __cplusplus
27
 
extern "C"
28
 
{
29
 
#endif
30
 
 
31
 
/*#include <X11/Xmd.h>*/
32
 
/*#include <X11/Xlib.h>*/
33
 
 
34
 
 
35
 
typedef struct {
36
 
  int shareDesktop; /* bool */
37
 
  int viewOnly; /* bool */
38
 
 
39
 
  const char* encodingsString;
40
 
 
41
 
  int useBGR233; /* bool */
42
 
  int nColours;
43
 
  int useSharedColours; /* bool */
44
 
  int requestedDepth;
45
 
 
46
 
  int rawDelay;
47
 
  int copyRectDelay;
48
 
 
49
 
  int debug; /* bool */
50
 
 
51
 
  int compressLevel;
52
 
  int qualityLevel;
53
 
  int dotCursor; /* bool */
54
 
 
55
 
} AppData;
56
 
 
57
 
 
58
 
enum InitStatus {
59
 
  INIT_OK = 0,
60
 
  INIT_NAME_RESOLUTION_FAILURE = 1,
61
 
  INIT_PROTOCOL_FAILURE = 2,
62
 
  INIT_CONNECTION_FAILED = 3,
63
 
  INIT_AUTHENTICATION_FAILED = 4,
64
 
  INIT_NO_SERVER = 5,
65
 
  INIT_SERVER_BLOCKED = 6,
66
 
  INIT_ABORTED = 7
67
 
};
68
 
 
69
 
 
70
 
#if(defined __cplusplus)
71
 
}
72
 
#endif
73
 
 
74
 
#endif