nxdata.h

00001 /***************************************************************************
00002                                 nxdata.h
00003                              -------------------
00004     begin                : Wednesday 9th August 2006
00005     modifications        : July 2007
00006     copyright            : (C) 2006 by George Wright
00007     modifications        : (C) 2007 Embedded Software Foundry Ltd. (U.K.)
00008                          :     Author: Sebastian James
00009     email                : seb@esfnet.co.uk, gwright@kde.org
00010  ***************************************************************************/
00011 
00012 /***************************************************************************
00013  *                                                                         *
00014  *   This program is free software; you can redistribute it and/or modify  *
00015  *   it under the terms of the GNU General Public License as published by  *
00016  *   the Free Software Foundation; either version 2 of the License, or     *
00017  *   (at your option) any later version.                                   *
00018  *                                                                         *
00019  ***************************************************************************/
00020 
00021 #ifndef _NXDATA_H_
00022 #define _NXDATA_H_
00023 
00024 #include <string>
00025 
00030 #define NXCL_PROCESS_STARTED        1000001
00031 #define NXCL_PROCESS_EXITED         1000002
00032 #define NXCL_AUTH_FAILED            1000003
00033 #define NXCL_AUTHENTICATING         1000004
00034 #define NXCL_LOGIN_FAILED           1000005
00035 #define NXCL_HOST_KEY_VERIFAILED    1000006
00036 #define NXCL_INVOKE_PROXY           1000007
00037 #define NXCL_STARTING               1000008
00038 #define NXCL_FINISHED               1000009
00039 #define NXCL_ALIVE                  1000010
00040 #define NXCL_PROCESS_ERROR          1000011
00041 
00042 using namespace std;
00043 
00044 namespace nxcl {
00045 
00046         struct NXConfigData {
00047                 string serverHost;
00048                 int serverPort;
00049                 string sessionUser;
00050                 string sessionPass;
00051                 string sessionName;
00052                 string sessionType;
00053                 int cache;
00054                 int images;
00055                 string linkType;
00056                 bool render;
00057                 string backingstore;
00058                 int imageCompressionMethod;
00059                 int imageCompressionLevel;
00060                 string geometry;
00061                 string keyboard;
00062                 string kbtype;
00063                 bool media;
00064                 string agentServer;
00065                 string agentUser;
00066                 string agentPass;
00067                 int cups;
00068                 string key;
00069                 bool encryption;
00070                 bool fullscreen;
00071                 bool virtualDesktop;
00072                 string customCommand;
00073         };
00074 
00075         struct NXSessionData {
00076                 string sessionName;
00077                 string sessionType;
00078                 int cache;
00079                 int images;
00080                 string linkType;
00081                 bool render;
00082                 string backingstore;
00083                 int imageCompressionMethod;
00084                 int imageCompressionLevel;
00085                 string geometry;
00086                 string keyboard;
00087                 string kbtype;
00088                 bool media;
00089                 string agentServer;
00090                 string agentUser;
00091                 string agentPass;
00092                 int cups;
00093                 string id;
00094                 string key;
00095                 bool encryption;
00096                 bool fullscreen;
00097                 bool virtualDesktop;
00098                 string customCommand;
00099                 bool suspended;
00100                 int xRes;
00101                 int yRes;
00102                 int depth;
00103                 int display;
00104                 bool terminate;
00105         };
00106 
00107         struct NXResumeData {
00108                 int display;
00109                 string sessionType;
00110                 string sessionID;
00111                 string options;
00112                 int depth;
00113                 string screen;
00114                 string available;
00115                 string sessionName;
00116         };
00117 
00118 } // namespace
00119 #endif

Generated on Tue Jul 15 14:20:22 2008 for nxcl by  doxygen 1.4.7