nxcl @VERSION@
nxdata.h
1/***************************************************************************
2 nxdata.h
3 -------------------
4 begin : Wednesday 9th August 2006
5 modifications : July 2007
6 copyright : (C) 2006 by George Wright
7 modifications : (C) 2007 Embedded Software Foundry Ltd. (U.K.)
8 : Author: Sebastian James
9 email : seb@esfnet.co.uk, gwright@kde.org
10 ***************************************************************************/
11
12/***************************************************************************
13 * *
14 * This program is free software; you can redistribute it and/or modify *
15 * it under the terms of the GNU General Public License as published by *
16 * the Free Software Foundation; either version 2 of the License, or *
17 * (at your option) any later version. *
18 * *
19 ***************************************************************************/
20
21#ifndef _NXDATA_H_
22#define _NXDATA_H_
23
24#include <string>
25
30#define NXCL_PROCESS_STARTED 1000001
31#define NXCL_PROCESS_EXITED 1000002
32#define NXCL_AUTH_FAILED 1000003
33#define NXCL_AUTHENTICATING 1000004
34#define NXCL_LOGIN_FAILED 1000005
35#define NXCL_HOST_KEY_VERIFAILED 1000006
36#define NXCL_INVOKE_PROXY 1000007
37#define NXCL_STARTING 1000008
38#define NXCL_FINISHED 1000009
39#define NXCL_ALIVE 1000010
40#define NXCL_PROCESS_ERROR 1000011
41
42using namespace std;
43
44namespace nxcl {
45
46 struct NXConfigData {
47 string serverHost;
48 int serverPort;
49 string sessionUser;
50 string sessionPass;
51 string sessionName;
52 string sessionType;
53 int cache;
54 int images;
55 string linkType;
56 bool render;
57 string backingstore;
58 int imageCompressionMethod;
59 int imageCompressionLevel;
60 string geometry;
61 string keyboard;
62 string kbtype;
63 bool media;
64 string agentServer;
65 string agentUser;
66 string agentPass;
67 int cups;
68 string key;
69 bool encryption;
70 bool fullscreen;
71 bool virtualDesktop;
72 string customCommand;
73 };
74
76 string sessionName;
77 string sessionType;
78 int cache;
79 int images;
80 string linkType;
81 bool render;
82 string backingstore;
83 int imageCompressionMethod;
84 int imageCompressionLevel;
85 string geometry;
86 string keyboard;
87 string kbtype;
88 bool media;
89 string agentServer;
90 string agentUser;
91 string agentPass;
92 int cups;
93 string id;
94 string key;
95 bool encryption;
96 bool fullscreen;
97 bool virtualDesktop;
98 string customCommand;
99 bool suspended;
100 int xRes;
101 int yRes;
102 int depth;
103 int display;
104 bool terminate;
105 };
106
108 int display;
109 string sessionType;
110 string sessionID;
111 string options;
112 int depth;
113 string screen;
114 string available;
115 string sessionName;
116 };
117
118} // namespace
119#endif