From: Pierre Ossman Date: Mon, 20 Jan 2014 13:43:52 +0000 (+0100) Subject: Clean up header dependencies in the vncviewer directory X-Git-Tag: v1.3.90~48^2~25 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=769963fa710822ea36e4d4e1d27aa54d82b5bb3d;p=tigervnc.git Clean up header dependencies in the vncviewer directory --- diff --git a/vncviewer/OptionsDialog.cxx b/vncviewer/OptionsDialog.cxx index df9f3554..e21f2dd3 100644 --- a/vncviewer/OptionsDialog.cxx +++ b/vncviewer/OptionsDialog.cxx @@ -41,7 +41,11 @@ #include #include +#include #include +#include +#include +#include using namespace std; using namespace rdr; diff --git a/vncviewer/OptionsDialog.h b/vncviewer/OptionsDialog.h index b3ac0156..a6b504e9 100644 --- a/vncviewer/OptionsDialog.h +++ b/vncviewer/OptionsDialog.h @@ -22,11 +22,14 @@ #include #include -#include -#include -#include -#include -#include + +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*); diff --git a/vncviewer/ServerDialog.h b/vncviewer/ServerDialog.h index e023659c..7926849a 100644 --- a/vncviewer/ServerDialog.h +++ b/vncviewer/ServerDialog.h @@ -20,8 +20,9 @@ #define __SERVERDIALOG_H__ #include -#include -#include + +class Fl_Widget; +class Fl_Input; class ServerDialog : public Fl_Window { protected: diff --git a/vncviewer/Viewport.cxx b/vncviewer/Viewport.cxx index 733e4a20..d784a421 100644 --- a/vncviewer/Viewport.cxx +++ b/vncviewer/Viewport.cxx @@ -52,6 +52,9 @@ #include #include +#include +#include + #ifdef WIN32 #include "win32.h" #endif diff --git a/vncviewer/Viewport.h b/vncviewer/Viewport.h index c66c19a0..0410fb8a 100644 --- a/vncviewer/Viewport.h +++ b/vncviewer/Viewport.h @@ -24,13 +24,8 @@ #include #include -#include -#include -#include #include -#include -#include #include #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 { diff --git a/vncviewer/Win32PixelBuffer.h b/vncviewer/Win32PixelBuffer.h index ae2b71ac..7d91e09d 100644 --- a/vncviewer/Win32PixelBuffer.h +++ b/vncviewer/Win32PixelBuffer.h @@ -19,6 +19,8 @@ #ifndef __WIN32PIXELBUFFER_H__ #define __WIN32PIXELBUFFER_H__ +#include + #include class PlatformPixelBuffer: public rfb::FullFramePixelBuffer {