Add client support for LED state sync
diff --git a/common/rfb/ConnParams.h b/common/rfb/ConnParams.h
index 5e53893..d99d142 100644
--- a/common/rfb/ConnParams.h
+++ b/common/rfb/ConnParams.h
@@ -84,6 +84,9 @@
void setEncodings(int nEncodings, const rdr::S32* encodings);
+ unsigned int ledState() { return ledState_; }
+ void setLEDState(unsigned int state);
+
bool useCopyRect;
bool supportsLocalCursor;
@@ -93,6 +96,7 @@
bool supportsExtendedDesktopSize;
bool supportsDesktopRename;
bool supportsLastRect;
+ bool supportsLEDState;
bool supportsSetDesktopSize;
bool supportsFence;
@@ -111,6 +115,7 @@
std::set<rdr::S32> encodings_;
char verStr[13];
int verStrPos;
+ unsigned int ledState_;
};
}
#endif