Browse Source

Add comments to stored parameters list

Clarify what this list is used for, and organize it so it is easier to
match to the options dialog.
tags/v1.12.90
Pierre Ossman 2 years ago
parent
commit
6c121afcaa
1 changed files with 11 additions and 2 deletions
  1. 11
    2
      vncviewer/parameters.cxx

+ 11
- 2
vncviewer/parameters.cxx View File



static const char* IDENTIFIER_STRING = "TigerVNC Configuration file Version 1.0"; static const char* IDENTIFIER_STRING = "TigerVNC Configuration file Version 1.0";


/*
* We only save the sub set of parameters that can be modified from
* the graphical user interface
*/
static VoidParameter* parameterArray[] = { static VoidParameter* parameterArray[] = {
/* Security */
#ifdef HAVE_GNUTLS #ifdef HAVE_GNUTLS
&CSecurityTLS::X509CA, &CSecurityTLS::X509CA,
&CSecurityTLS::X509CRL, &CSecurityTLS::X509CRL,
#endif // HAVE_GNUTLS #endif // HAVE_GNUTLS
&SecurityClient::secTypes, &SecurityClient::secTypes,
&emulateMiddleButton,
/* Misc. */
&dotWhenNoCursor, &dotWhenNoCursor,
&reconnectOnError, &reconnectOnError,
&shared,
/* Compression */
&autoSelect, &autoSelect,
&fullColour, &fullColour,
&lowColourLevel, &lowColourLevel,
&compressLevel, &compressLevel,
&noJpeg, &noJpeg,
&qualityLevel, &qualityLevel,
/* Screen */
&fullScreen, &fullScreen,
&fullScreenMode, &fullScreenMode,
&fullScreenSelectedMonitors, &fullScreenSelectedMonitors,
&desktopSize, &desktopSize,
&remoteResize, &remoteResize,
/* Input */
&viewOnly, &viewOnly,
&shared,
&emulateMiddleButton,
&acceptClipboard, &acceptClipboard,
&sendClipboard, &sendClipboard,
#if !defined(WIN32) && !defined(__APPLE__) #if !defined(WIN32) && !defined(__APPLE__)

Loading…
Cancel
Save