bool needRenderedCursor();
network::Socket* getSock() { return sock; }
+
+ // Change tracking
+
void add_changed(const Region& region) { updates.add_changed(region); }
void add_copied(const Region& dest, const Point& delta) {
updates.add_copied(dest, delta);
void setLEDState(unsigned int state);
void setSocketTimeouts();
+ private:
network::Socket* sock;
CharArray peerEndpoint;
bool reverseConnection;
// 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:
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;
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;