Another 49 #includes bite the dust.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7681 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2003-09-05 15:31:19 +00:00
parent 34724201a1
commit 97035ea00a
30 changed files with 21 additions and 61 deletions

View File

@ -13,7 +13,6 @@
#include "ButtonController.h"
#include "BCView.h"
#include "support/LAssert.h"
#include "debug.h"
using namespace lyx::support;

View File

@ -1,6 +1,7 @@
2003-09-05 Angus Leeming <leeming@lyx.org>
* GUI.h: ensure that the header file can be compiled stand-alone.
* *.C: strip out redundant #includes. (49 in total.)
2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>

View File

@ -17,7 +17,6 @@
#include "version.h"
#include "Lsstream.h"
#include "support/LOstream.h"
#include "support/filetools.h" // FileSearch
#include "support/path_defines.h"

View File

@ -13,7 +13,6 @@
#include <config.h>
#include "ControlBibtex.h"
#include "Kernel.h"
#include "lyxrc.h"
#include "helper_funcs.h"

View File

@ -14,7 +14,6 @@
#include "ControlBranch.h"
#include "funcrequest.h"
#include "insets/insetbranch.h"
#include "debug.h"
ControlBranch::ControlBranch(Dialog & parent)
: Dialog::Controller(parent)

View File

@ -14,7 +14,6 @@
#include "ControlButtons.h"
#include "ButtonController.h"
#include "BCView.h"
#include "ViewBase.h"
#include "lyxrc.h"
#include "support/LAssert.h"

View File

@ -15,7 +15,6 @@
#include "BufferView.h"
#include "funcrequest.h"
#include "lyxfind.h"
#include "author.h"
#include "support/lstrings.h"
using namespace lyx::support;

View File

@ -16,7 +16,6 @@
#include "buffer.h"
#include "bufferview_funcs.h"
#include "funcrequest.h"
#include "gettext.h"
#include "language.h"
using namespace bv_funcs;

View File

@ -11,7 +11,6 @@
#include <config.h>
#include "ControlCitation.h"
#include "Kernel.h"
#include "buffer.h"

View File

@ -11,7 +11,6 @@
#include <config.h>
#include "ControlCommand.h"
#include "Kernel.h"
#include "funcrequest.h"
#include "insets/insetcommand.h"

View File

@ -14,7 +14,6 @@
#include "ControlCommandBuffer.h"
#include "bufferview_funcs.h"
#include "debug.h"
#include "lyxfunc.h"
#include "LyXAction.h"
#include "frontends/LyXView.h"

View File

@ -15,15 +15,11 @@
#include "ViewBase.h"
#include "gettext.h"
#include "lyxfind.h"
#include "buffer.h"
#include "buffer_funcs.h"
#include "errorlist.h"
#include "iterators.h"
#include "language.h"
#include "lyx_main.h"
#include "lyxtextclass.h"
#include "lyxtextclasslist.h"
#include "CutAndPaste.h"
@ -31,7 +27,6 @@
#include "frontends/Alert.h"
#include "support/LAssert.h"
#include "support/lstrings.h"
#include "support/filetools.h"
#include "support/path_defines.h"

View File

@ -14,10 +14,8 @@
#include "buffer.h"
#include "BufferView.h"
#include "debug.h"
#include "errorlist.h"
#include "iterators.h"
#include "lyxtext.h"
#include "support/lstrings.h" // tostr
using std::endl;

View File

@ -13,7 +13,6 @@
#include <config.h>
#include "ControlExternal.h"
#include "buffer.h"
#include "funcrequest.h"
#include "gettext.h"
#include "helper_funcs.h"
@ -22,7 +21,6 @@
#include "insets/ExternalTemplate.h"
#include "support/LAssert.h"
#include <vector>
using namespace lyx::support;
using std::vector;

View File

@ -15,7 +15,6 @@
#include "helper_funcs.h"
#include "BufferView.h"
#include "funcrequest.h"
#include "gettext.h"
#include "lyxrc.h"
@ -25,7 +24,6 @@
#include "graphics/GraphicsImage.h"
#include "insets/insetgraphics.h"
#include "insets/insetgraphicsParams.h"
#include "support/tostr.h"
#include "support/filetools.h"

View File

@ -11,7 +11,6 @@
#include <config.h>
#include "ControlMath.h"
#include "Kernel.h"
#include "debug.h"
#include "funcrequest.h"

View File

@ -13,7 +13,6 @@
#include "ControlNote.h"
#include "funcrequest.h"
#include "insets/insetnote.h"
#include "debug.h"
#include "gettext.h"

View File

@ -10,30 +10,32 @@
#include <config.h>
#include <utility>
#include "ControlPrefs.h"
#include "helper_funcs.h"
#include "ViewBase.h"
#include "frontends/LyXView.h"
#include "bufferlist.h"
#include "helper_funcs.h"
#include "gettext.h"
#include "support/filetools.h"
#include "support/path_defines.h"
#include "frontends/Dialogs.h"
#include "converter.h"
#include "format.h"
#include "debug.h"
#include "gettext.h"
extern BufferList bufferlist;
#include "frontends/Dialogs.h"
#include "frontends/LyXView.h"
#include "support/filetools.h"
#include "support/path_defines.h"
#include <utility>
using namespace lyx::support;
using std::endl;
using std::pair;
extern BufferList bufferlist;
ControlPrefs::ControlPrefs(LyXView & lv, Dialogs & d)
: ControlDialogBI(lv, d)
{}

View File

@ -16,7 +16,6 @@
#include "ButtonController.h"
#include "buffer.h"
#include "bufferparams.h"
#include "gettext.h"
#include "helper_funcs.h"
#include "PrinterParams.h"
@ -25,7 +24,6 @@
#include "frontends/Alert.h"
#include "support/tostr.h"
#include "support/LAssert.h"
#include "support/filetools.h"
#include "support/path.h"
#include "support/systemcall.h"

View File

@ -12,7 +12,6 @@
#include "ControlRef.h"
#include "lyxfunc.h"
#include "buffer.h"
#include "bufferlist.h"
#include "funcrequest.h"

View File

@ -17,7 +17,6 @@
#include "converter.h"
#include "format.h"
#include "exporter.h"
#include "gettext.h"
#include "lyxrc.h"
#include "support/filetools.h"

View File

@ -17,7 +17,6 @@
#include "gettext.h"
#include "language.h"
#include "lyxrc.h"
#include "lyxtext.h"
#include "debug.h"
#include "ispell.h"

View File

@ -11,7 +11,6 @@
#include <config.h>
#include "ControlToc.h"
#include "support/lstrings.h" // tostr
using std::vector;

View File

@ -12,7 +12,6 @@
#include "ControlWrap.h"
#include "funcrequest.h"
#include "lyxlength.h"
#include "insets/insetwrap.h"

View File

@ -14,7 +14,6 @@
#include "ButtonController.h"
#include "BCView.h"
#include "debug.h"
#include "support/LAssert.h"
using namespace lyx::support;

View File

@ -15,17 +15,12 @@
#include "Lsstream.h"
#include "gettext.h" // for _()
#include "helper_funcs.h"
#include "Lsstream.h"
#include "LString.h"
#include "support/lstrings.h"
#include "support/LAssert.h"
#include <boost/regex.hpp>
#include <algorithm>
using namespace lyx::support;
using std::vector;

View File

@ -9,7 +9,6 @@
*/
#include <config.h>
#include <vector>
#include "gettext.h"

View File

@ -14,8 +14,6 @@
#include "frnt_lang.h"
#include "gettext.h"
#include "language.h"
#include <iostream>
#include <algorithm>
using std::vector;

View File

@ -8,24 +8,23 @@
* Full author contact details are available in file CREDITS.
*/
#include <vector>
#include <config.h>
#include "LString.h"
#include "helper_funcs.h"
#include "frontends/FileDialog.h"
#include "support/filetools.h" // OnlyPath, OnlyFilename
#include "support/lstrings.h"
#include "gettext.h" // _()
#include "gettext.h"
#include "frontends/Alert.h"
#include "frontends/FileDialog.h"
#include "support/filetools.h" // OnlyPath, OnlyFilename
using namespace lyx::support;
using std::make_pair;
using std::pair;
using std::vector;
using std::make_pair;
string const browseFile(string const & filename,

View File

@ -13,7 +13,6 @@
#include "tex_helpers.h"
#include "debug.h"
#include "gettext.h"
#include "support/filetools.h"
#include "support/lstrings.h"
@ -23,9 +22,7 @@
#include "support/path_defines.h"
#include <boost/cregex.hpp>
#include <vector>
#include <fstream>
#include <algorithm>
using namespace lyx::support;