您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

parameters.h 2.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. /* Copyright (C) 2002-2005 RealVNC Ltd. All Rights Reserved.
  2. * Copyright 2011 Pierre Ossman <ossman@cendio.se> for Cendio AB
  3. * Copyright 2012 Samuel Mannehed <samuel@cendio.se> for Cendio AB
  4. *
  5. * This is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License as published by
  7. * the Free Software Foundation; either version 2 of the License, or
  8. * (at your option) any later version.
  9. *
  10. * This software is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU General Public License
  16. * along with this software; if not, write to the Free Software
  17. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
  18. * USA.
  19. */
  20. #ifndef __PARAMETERS_H__
  21. #define __PARAMETERS_H__
  22. #include <rfb/Configuration.h>
  23. extern rfb::IntParameter pointerEventInterval;
  24. extern rfb::BoolParameter dotWhenNoCursor;
  25. extern rfb::StringParameter passwordFile;
  26. extern rfb::BoolParameter autoSelect;
  27. extern rfb::BoolParameter fullColour;
  28. extern rfb::AliasParameter fullColourAlias;
  29. extern rfb::IntParameter lowColourLevel;
  30. extern rfb::AliasParameter lowColourLevelAlias;
  31. extern rfb::StringParameter preferredEncoding;
  32. extern rfb::BoolParameter customCompressLevel;
  33. extern rfb::IntParameter compressLevel;
  34. extern rfb::BoolParameter noJpeg;
  35. extern rfb::IntParameter qualityLevel;
  36. extern rfb::BoolParameter maximize;
  37. #ifdef HAVE_FLTK_FULLSCREEN
  38. extern rfb::BoolParameter fullScreen;
  39. #ifdef HAVE_FLTK_FULLSCREEN_SCREENS
  40. extern rfb::BoolParameter fullScreenAllMonitors;
  41. #endif // HAVE_FLTK_FULLSCREEN_SCREENS
  42. #endif // HAVE_FLTK_FULLSCREEN
  43. extern rfb::StringParameter desktopSize;
  44. extern rfb::StringParameter geometry;
  45. extern rfb::BoolParameter remoteResize;
  46. extern rfb::BoolParameter listenMode;
  47. extern rfb::BoolParameter viewOnly;
  48. extern rfb::BoolParameter shared;
  49. extern rfb::BoolParameter acceptClipboard;
  50. extern rfb::BoolParameter sendClipboard;
  51. extern rfb::BoolParameter sendPrimary;
  52. extern rfb::StringParameter menuKey;
  53. extern rfb::BoolParameter fullscreenSystemKeys;
  54. #ifndef WIN32
  55. extern rfb::StringParameter via;
  56. #endif
  57. void saveViewerParameters(const char *filename, const char *servername=NULL);
  58. char* loadViewerParameters(const char *filename);
  59. #endif