]> source.dussan.org Git - tigervnc.git/commitdiff
Remove unneeded header from SDesktop.h
authorPierre Ossman <ossman@cendio.se>
Fri, 27 Jan 2023 11:32:02 +0000 (12:32 +0100)
committerPierre Ossman <ossman@cendio.se>
Sat, 4 Feb 2023 13:03:13 +0000 (14:03 +0100)
It doesn't use any exceptions, so stop including the header for it.

common/rfb/SDesktop.h
common/rfb/VNCSConnectionST.cxx
common/rfb/VNCServerST.cxx
unix/x0vncserver/XDesktop.cxx

index 175609fca6429116a727e86fb4a5f8d5afc0680f..9db081161703db87d5a82da1b4cf646b5ee4d528 100644 (file)
 #include <rfb/PixelBuffer.h>
 #include <rfb/VNCServer.h>
 #include <rfb/InputHandler.h>
-#include <rfb/Exception.h>
 #include <rfb/screenTypes.h>
 
 namespace network { class Socket; }
 
 namespace rfb {
 
-  class VNCServer;
-
   class SDesktop : public InputHandler {
   public:
     // start() is called by the server when the first client authenticates
index b5e5b5832c9be049403579af5a6cad759448a5a8..0400d5106e22808f65c12510d342bab057fae63b 100644 (file)
@@ -26,6 +26,7 @@
 
 #include <rfb/ComparingUpdateTracker.h>
 #include <rfb/Encoder.h>
+#include <rfb/Exception.h>
 #include <rfb/KeyRemapper.h>
 #include <rfb/LogWriter.h>
 #include <rfb/Security.h>
index 1122b0a73ef89598926c98b6decd88efadc3d214..ca32282e9ddceddc42a302fc15d9116772377eeb 100644 (file)
@@ -56,6 +56,7 @@
 #include <stdlib.h>
 
 #include <rfb/ComparingUpdateTracker.h>
+#include <rfb/Exception.h>
 #include <rfb/KeyRemapper.h>
 #include <rfb/LogWriter.h>
 #include <rfb/Security.h>
index 12169c76714f197d6977eb2e0d5c0c587ec2874a..9af7bb2231fd33e3a6dde8d0d7ecd3a041259b36 100644 (file)
@@ -43,6 +43,7 @@
 #endif
 #ifdef HAVE_XRANDR
 #include <X11/extensions/Xrandr.h>
+#include <rfb/Exception.h>
 #include <RandrGlue.h>
 extern "C" {
 void vncSetGlueContext(Display *dpy, void *res);