Clean up headers
Add missing comments and clearly separate methods from attributes.
diff --git a/common/rfb/VNCServerST.h b/common/rfb/VNCServerST.h
index f4b0d3f..545b9a4 100644
--- a/common/rfb/VNCServerST.h
+++ b/common/rfb/VNCServerST.h
@@ -148,6 +148,8 @@
// ready to be sent to clients
Region getPendingRegion();
+ // getRenderedCursor() returns an up to date version of the server
+ // side rendered cursor buffer
const RenderedCursor* getRenderedCursor();
protected:
@@ -160,6 +162,17 @@
void startDesktop();
void stopDesktop();
+ // - Check how many of the clients are authenticated.
+ int authClientCount();
+
+ bool needRenderedCursor();
+ void startFrameClock();
+ void stopFrameClock();
+ void writeUpdate();
+
+ bool getComparerState();
+
+ protected:
Blacklist blacklist;
Blacklist* blHosts;
@@ -183,16 +196,6 @@
RenderedCursor renderedCursor;
bool renderedCursorInvalid;
- // - Check how many of the clients are authenticated.
- int authClientCount();
-
- bool needRenderedCursor();
- void startFrameClock();
- void stopFrameClock();
- void writeUpdate();
-
- bool getComparerState();
-
KeyRemapper* keyRemapper;
time_t lastUserInputTime;