AutoSelect if default only if not using PreferredEncoding or FullColor.
CustomCompressLevel is default if CompressLevel is specified.
This gives backwards compatibility with the old vncviewer, but at the
same time making it possible to fully specify the internal state of
the viewer wrt AutoSelect, CustomCompressLevel and CompressLevel. For
example, it's now possible to start the client with CompressLevel=4
specified, but with CustomCompressLevel=0 (thus the option
grayed-out).
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@79 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/rfb/Configuration.h b/rfb/Configuration.h
index 1b37ac9..20aec99 100644
--- a/rfb/Configuration.h
+++ b/rfb/Configuration.h
@@ -78,10 +78,13 @@
virtual bool isBool() const;
virtual void setImmutable();
+ virtual void setHasBeenSet();
+ bool hasBeenSet();
VoidParameter* _next;
protected:
bool immutable;
+ bool _hasBeenSet;
const char* name;
const char* description;
};