]> source.dussan.org Git - tigervnc.git/commitdiff
Clean up header dependencies in the vncviewer directory
authorPierre Ossman <ossman@cendio.se>
Mon, 20 Jan 2014 13:43:52 +0000 (14:43 +0100)
committerPierre Ossman <ossman@cendio.se>
Mon, 7 Jul 2014 11:27:07 +0000 (13:27 +0200)
vncviewer/OptionsDialog.cxx
vncviewer/OptionsDialog.h
vncviewer/ServerDialog.h
vncviewer/Viewport.cxx
vncviewer/Viewport.h
vncviewer/Win32PixelBuffer.h

index df9f3554ccafe3e7f4b756f31cc47a4418680282..e21f2dd361df6937578ed1871a11af86cdca67f0 100644 (file)
 
 #include <FL/Fl_Tabs.H>
 #include <FL/Fl_Button.H>
+#include <FL/Fl_Check_Button.H>
 #include <FL/Fl_Return_Button.H>
+#include <FL/Fl_Round_Button.H>
+#include <FL/Fl_Int_Input.H>
+#include <FL/Fl_Choice.H>
 
 using namespace std;
 using namespace rdr;
index b3ac015635543835bcc8ede0d45b858ce3ea45d3..a6b504e9a4af14d058a967047ae8843adefa97eb 100644 (file)
 #include <map>
 
 #include <FL/Fl_Window.H>
-#include <FL/Fl_Group.H>
-#include <FL/Fl_Check_Button.H>
-#include <FL/Fl_Round_Button.H>
-#include <FL/Fl_Int_Input.H>
-#include <FL/Fl_Choice.H>
+
+class Fl_Widget;
+class Fl_Group;
+class Fl_Check_Button;
+class Fl_Round_Button;
+class Fl_Input;
+class Fl_Int_Input;
+class Fl_Choice;
 
 typedef void (OptionsCallback)(void*);
 
index e023659c471a4cce8e721ede576bdf2561a5022d..7926849a0917374aafb6048340dd3b2a40842c3c 100644 (file)
@@ -20,8 +20,9 @@
 #define __SERVERDIALOG_H__
 
 #include <FL/Fl_Window.H>
-#include <FL/Fl_Input.H>
-#include <FL/Fl_File_Chooser.H>
+
+class Fl_Widget;
+class Fl_Input;
 
 class ServerDialog : public Fl_Window {
 protected:
index 733e4a203d70e2fa7e96400565bc7c1f9f1caef4..d784a4210ee9bbf000ade85db1dae291796ab67a 100644 (file)
@@ -52,6 +52,9 @@
 #include <FL/fl_draw.H>
 #include <FL/fl_ask.H>
 
+#include <FL/Fl_Menu.H>
+#include <FL/Fl_Menu_Button.H>
+
 #ifdef WIN32
 #include "win32.h"
 #endif
index c66c19a0f4567c0ae64b529a50cbd891f43689d4..0410fb8a6f541589564a6c0503b9aec8c90b00a5 100644 (file)
 
 #include <FL/Fl.H>
 #include <FL/Fl_Widget.H>
-#include <FL/Fl_Menu_Button.H>
-#include <FL/Fl_RGB_Image.H>
 
-#include <rfb/Rect.h>
 #include <rfb/Region.h>
-#include <rfb/Timer.h>
-#include <rfb/PixelBuffer.h>
 #include <rfb/PixelTransformer.h>
 
 #if defined(WIN32)
@@ -46,6 +41,9 @@
 // #include "PlatformPixelBuffer.h"
 //
 
+class Fl_Menu_Button;
+class Fl_RGB_Image;
+
 class CConn;
 
 class Viewport : public Fl_Widget {
index ae2b71ac2a4ce04127a6af4a683a811373b51b9d..7d91e09d0f258f7a6ae0d3b2550e05314b050199 100644 (file)
@@ -19,6 +19,8 @@
 #ifndef __WIN32PIXELBUFFER_H__
 #define __WIN32PIXELBUFFER_H__
 
+#include <windows.h>
+
 #include <rfb/PixelBuffer.h>
 
 class PlatformPixelBuffer: public rfb::FullFramePixelBuffer {