]> source.dussan.org Git - tigervnc.git/commitdiff
Reduce header dependencies in server classes
authorPierre Ossman <ossman@cendio.se>
Fri, 11 Dec 2015 19:21:20 +0000 (20:21 +0100)
committerPierre Ossman <ossman@cendio.se>
Fri, 17 Nov 2017 07:22:11 +0000 (08:22 +0100)
common/rfb/ListConnInfo.h
common/rfb/VNCSConnectionST.cxx
common/rfb/VNCSConnectionST.h
common/rfb/VNCServerST.cxx
common/rfb/VNCServerST.h

index 9e939d1ee89f56a0d00e0e937598ef566194d5dd..c49947da29832edcb5f3b6c358a4036a91ab6ff1 100644 (file)
 #ifndef __RFB_LISTCONNINFO_INCLUDED__
 #define __RFB_LISTCONNINFO_INCLUDED__
 
+#include <list>
+
+#include <rfb/util.h>
+
 namespace rfb {
 
   struct ListConnInfo  {
index ef49a28eee0edd24c1f7e33461aac4c453a19a96..cd5d0896fc6d71dfafc3d5049d2d85d2116d1a92 100644 (file)
 #endif
 
 #include <network/TcpSocket.h>
-#include <rfb/VNCSConnectionST.h>
+
+#include <rfb/ComparingUpdateTracker.h>
+#include <rfb/Encoder.h>
+#include <rfb/KeyRemapper.h>
 #include <rfb/LogWriter.h>
 #include <rfb/Security.h>
+#include <rfb/ServerCore.h>
+#include <rfb/SMsgWriter.h>
+#include <rfb/VNCServerST.h>
+#include <rfb/VNCSConnectionST.h>
 #include <rfb/screenTypes.h>
 #include <rfb/fenceTypes.h>
-#include <rfb/ServerCore.h>
-#include <rfb/ComparingUpdateTracker.h>
-#include <rfb/KeyRemapper.h>
-#include <rfb/Encoder.h>
 #define XK_MISCELLANY
 #define XK_XKB_KEYS
 #include <rfb/keysymdef.h>
index ccca6744bf88666e7da5f8d4046562be7cc251cb..7022d8a9c9b70d618df17b7615f425e24c1c0059 100644 (file)
 #include <list>
 #include <set>
 
+#include <rfb/EncodeManager.h>
 #include <rfb/SConnection.h>
-#include <rfb/SMsgWriter.h>
-#include <rfb/VNCServerST.h>
 #include <rfb/Timer.h>
-#include <rfb/EncodeManager.h>
 
 struct RTTInfo;
 
 namespace rfb {
+  class VNCServerST;
 
   class VNCSConnectionST : public SConnection,
                            public Timer::Callback {
index ec5e962f04bf142d8447fb76c8b65956a52ecccb..654391928cb51d132b75bbaea42bc5486aa3a075 100644 (file)
 #include <assert.h>
 #include <stdlib.h>
 
+#include <rfb/ComparingUpdateTracker.h>
+#include <rfb/KeyRemapper.h>
+#include <rfb/ListConnInfo.h>
+#include <rfb/Security.h>
 #include <rfb/ServerCore.h>
 #include <rfb/VNCServerST.h>
 #include <rfb/VNCSConnectionST.h>
-#include <rfb/ComparingUpdateTracker.h>
-#include <rfb/Security.h>
-#include <rfb/KeyRemapper.h>
 #include <rfb/util.h>
 
 #include <rdr/types.h>
index 00f77c733d5cbae7291427b667146cd3d586304a..9d25268910d82b0741c68378be43844bf0cafcd8 100644 (file)
 
 #include <rfb/SDesktop.h>
 #include <rfb/VNCServer.h>
-#include <rfb/Configuration.h>
 #include <rfb/LogWriter.h>
 #include <rfb/Blacklist.h>
 #include <rfb/Cursor.h>
 #include <rfb/Timer.h>
 #include <network/Socket.h>
-#include <rfb/ListConnInfo.h>
 #include <rfb/ScreenSet.h>
 
 namespace rfb {
 
   class VNCSConnectionST;
   class ComparingUpdateTracker;
+  class ListConnInfo;
   class PixelBuffer;
   class KeyRemapper;