diff options
author | DRC <dcommander@users.sourceforge.net> | 2011-11-03 19:01:18 +0000 |
---|---|---|
committer | DRC <dcommander@users.sourceforge.net> | 2011-11-03 19:01:18 +0000 |
commit | 3591fa5b9673a587e78c043a6a9f5988ac22e237 (patch) | |
tree | 2f19fdc2a699473ba659307d645b0cd686e38c6c /win/vncviewer/CConnOptions.h | |
parent | 7c2a39cd1384bb48ef108a324c53ed1149930f75 (diff) | |
download | tigervnc-3591fa5b9673a587e78c043a6a9f5988ac22e237.tar.gz tigervnc-3591fa5b9673a587e78c043a6a9f5988ac22e237.zip |
The Tight decoding optimizations broke the build of the legacy viewers, so this seems like a good time to get rid of them like we discussed.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4759 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'win/vncviewer/CConnOptions.h')
-rw-r--r-- | win/vncviewer/CConnOptions.h | 104 |
1 files changed, 0 insertions, 104 deletions
diff --git a/win/vncviewer/CConnOptions.h b/win/vncviewer/CConnOptions.h deleted file mode 100644 index 76f0d68e..00000000 --- a/win/vncviewer/CConnOptions.h +++ /dev/null @@ -1,104 +0,0 @@ -/* Copyright (C) 2002-2005 RealVNC Ltd. All Rights Reserved. - * - * This is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This software is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, - * USA. - */ - -// -=- CConnOptions.h - -// Definition of the CConnOptions class, responsible for storing the -// current & requested VNC Viewer options. - -#ifndef __RFB_WIN32_CCONN_OPTIONS_H__ -#define __RFB_WIN32_CCONN_OPTIONS_H__ - -#include <rdr/types.h> -#include <rfb/Password.h> - -#include <list> - -namespace rfb { - - namespace win32 { - - // - // -=- Options structure. Each viewer option has a corresponding - // entry in CConnOptions. The viewer options are set by calling - // CConn::applyOptions(...) - // The CConnOptions structure automatically picks up the default - // value of each option from the Configuration system - // The readFromFile and writeFromFile methods can be used to load - // and save VNC configuration files. readFromFile is backwards - // compatible with 3.3 releases, while writeToFile is not. - - class CConnOptions { - public: - CConnOptions(); - CConnOptions(const CConnOptions& o) {operator=(o);} - CConnOptions& operator=(const CConnOptions& o); - void readFromFile(const char* filename_); - void writeToFile(const char* filename_); - void writeDefaults(); - bool useLocalCursor; - bool useDesktopResize; - bool fullScreen; - bool fullColour; - int lowColourLevel; - int preferredEncoding; - bool autoSelect; - bool shared; - CharArray desktopSize; - bool sendPtrEvents; - bool sendKeyEvents; - bool showToolbar; - bool clientCutText; - bool serverCutText; - bool disableWinKeys; - bool emulate3; - int pointerEventInterval; - bool protocol3_3; - bool acceptBell; - bool autoScaling; - int scale; - std::list<rdr::U32> secTypes; - CharArray userName; - void setUserName(const char* user); - PlainPasswd password; - void setPassword(const char* pwd); - CharArray configFileName; - void setConfigFileName(const char* cfn); - CharArray host; - void setHost(const char* h); - CharArray monitor; - void setMonitor(const char* m); - unsigned int menuKey; - void setMenuKey(const char* keyName); - char* menuKeyName(); - bool autoReconnect; - - bool customCompressLevel; - int compressLevel; - bool noJpeg; - int qualityLevel; - - CharArray passwordFile; - }; - - - }; - -}; - -#endif |