Strip out redundant includes (193 of 'em).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7670 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2003-09-05 09:01:27 +00:00
parent c9403be3b0
commit c5c7a9e568
45 changed files with 185 additions and 348 deletions

View File

@ -1,3 +1,7 @@
2003-09-05 Angus Leeming <leeming@lyx.org>
* *.C: strip out redundant #includes. (193 in total.)
2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
* insets/insetbibtex.[Ch]:

View File

@ -12,21 +12,21 @@
#include "ExternalTemplate.h"
#include "lyxlex.h"
#include "debug.h"
#include "support/path.h"
#include "support/LAssert.h"
#include "support/filetools.h"
#include "support/lstrings.h"
#include "support/path_defines.h"
#include "lyxlex.h"
#include <algorithm>
#include "support/filetools.h"
#include "support/LAssert.h"
#include "support/lstrings.h"
#include "support/path.h"
#include "support/path_defines.h"
namespace support = lyx::support;
using std::endl;
using std::ostream;
using std::for_each;
using std::ostream;
// We have to have dummy default commands for security reasons!

View File

@ -14,23 +14,11 @@
#include <config.h>
#include "inset.h"
#include "updatableinset.h"
#include "BufferView.h"
#include "funcrequest.h"
#include "gettext.h"
#include "lyxfont.h"
#include "lyxtext.h"
#include "dimension.h"
#include "metricsinfo.h"
#include "insets/updatableinset.h"
#include "frontends/Painter.h"
#include "frontends/mouse_state.h"
#include "support/lstrings.h"
#include "debug.h"
// Initialization of the counter for the inset id's,
unsigned int InsetOld::inset_id = 0;

View File

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

View File

@ -10,6 +10,7 @@
#include <config.h>
#include "insetbibitem.h"
#include "buffer.h"
#include "BufferView.h"
#include "funcrequest.h"
@ -17,8 +18,8 @@
#include "frontends/font_metrics.h"
#include "support/tostr.h"
#include "support/lstrings.h"
#include "support/tostr.h"
using namespace lyx::support;

View File

@ -11,31 +11,29 @@
#include <config.h>
#include "insetbibtex.h"
#include "metricsinfo.h"
#include "buffer.h"
#include "BufferView.h"
#include "debug.h"
#include "funcrequest.h"
#include "gettext.h"
#include "latexrunparams.h"
#include "metricsinfo.h"
#include "support/filetools.h"
#include "support/path.h"
#include "support/os.h"
#include "support/lstrings.h"
#include "support/LAssert.h"
#include "support/os.h"
#include "support/path.h"
#include <fstream>
#include <cstdlib>
using namespace lyx::support;
using std::ostream;
using std::ifstream;
using std::getline;
using std::endl;
using std::vector;
using std::getline;
using std::ifstream;
using std::ostream;
using std::pair;
using std::vector;
InsetBibtex::InsetBibtex(InsetCommandParams const & p)

View File

@ -10,26 +10,19 @@
#include <config.h>
#include "Lsstream.h"
#include "insetbranch.h"
#include "gettext.h"
#include "lyxfont.h"
#include "language.h"
#include "buffer.h"
#include "BufferView.h"
#include "funcrequest.h"
#include "LaTeXFeatures.h"
#include "latexrunparams.h"
#include "gettext.h"
#include "lyxlex.h"
#include "lyxtext.h"
#include "insets/insettext.h"
#include "support/LOstream.h"
#include "support/lstrings.h"
#include "debug.h"
using std::ostream;
#include "Lsstream.h"
using std::auto_ptr;
using std::ostream;
void InsetBranch::init()
{

View File

@ -11,26 +11,28 @@
#include <config.h>
#include "insetcaption.h"
#include "frontends/Painter.h"
#include "frontends/font_metrics.h"
#include "BufferView.h"
#include "insetfloat.h"
#include "insetwrap.h"
#include "buffer.h"
#include "BufferView.h"
#include "Floating.h"
#include "FloatList.h"
#include "insets/insetfloat.h"
#include "insets/insetwrap.h"
#include "debug.h"
#include "gettext.h"
#include "Lsstream.h"
#include "metricsinfo.h"
#include "support/lstrings.h"
#include "frontends/Painter.h"
#include "frontends/font_metrics.h"
#include "support/LAssert.h"
#include "support/BoostFormat.h"
#include "support/lstrings.h"
#include "Lsstream.h"
using namespace lyx::support;
using std::ostream;
using std::endl;
using std::ostream;
InsetCaption::InsetCaption(BufferParams const & bp)

View File

@ -12,23 +12,23 @@
#include <config.h>
#include "insetcite.h"
#include "funcrequest.h"
#include "buffer.h"
#include "BufferView.h"
#include "funcrequest.h"
#include "LaTeXFeatures.h"
#include "frontends/controllers/biblio.h"
#include "support/lstrings.h"
#include <map>
using namespace lyx::support;
using std::ostream;
using std::vector;
using std::map;
namespace {
// An optimisation. We assume that until the first InsetCitation::edit is

View File

@ -13,34 +13,28 @@
#include <config.h>
#include "insetcollapsable.h"
#include "insettext.h"
#include "buffer.h"
#include "BufferView.h"
#include "debug.h"
#include "dimension.h"
#include "gettext.h"
#include "lyxfont.h"
#include "lyxlex.h"
#include "lyxtext.h"
#include "WordLangTuple.h"
#include "funcrequest.h"
#include "buffer.h"
#include "metricsinfo.h"
#include "WordLangTuple.h"
#include "frontends/font_metrics.h"
#include "frontends/Painter.h"
#include "frontends/LyXView.h"
#include "support/LAssert.h"
#include "support/LOstream.h"
using namespace lyx::support;
using namespace lyx::graphics;
using std::vector;
using std::ostream;
using std::endl;
using std::max;
using std::vector;
using std::ostream;
InsetCollapsable::InsetCollapsable(BufferParams const & bp, bool collapsed)

View File

@ -12,16 +12,12 @@
#include <config.h>
#include "insetcommand.h"
#include "BufferView.h"
#include "debug.h"
#include "funcrequest.h"
#include "lyxlex.h"
#include "metricsinfo.h"
#include "frontends/Painter.h"
#include "support/lstrings.h"
#include "Lsstream.h"
using std::ostream;

View File

@ -10,15 +10,13 @@
#include <config.h>
#include "insetcommandparams.h"
#include "lyxlex.h"
#include "debug.h"
#include "lyxlex.h"
#include "support/LOstream.h"
using std::ostream;
using std::endl;
using std::ostream;
InsetCommandParams::InsetCommandParams()

View File

@ -11,18 +11,15 @@
#include <config.h>
#include "insetenv.h"
#include "bufferparams.h"
#include "debug.h"
#include "gettext.h"
#include "lyxlayout.h"
#include "lyxtextclass.h"
#include "paragraph_funcs.h"
#include "texrow.h"
#include "support/LOstream.h"
using std::ostream;
using std::endl;
using std::auto_ptr;
using std::ostream;
InsetEnvironment::InsetEnvironment

View File

@ -11,8 +11,6 @@
#include <config.h>
#include "insetert.h"
#include "insettext.h"
#include "metricsinfo.h"
#include "buffer.h"
#include "BufferView.h"
@ -20,28 +18,23 @@
#include "funcrequest.h"
#include "gettext.h"
#include "language.h"
#include "lyxfont.h"
#include "lyxlex.h"
#include "lyxrow.h"
#include "lyxtext.h"
#include "metricsinfo.h"
#include "WordLangTuple.h"
#include "frontends/Alert.h"
#include "frontends/Dialogs.h"
#include "frontends/LyXView.h"
#include "support/LOstream.h"
#include "support/LAssert.h"
#include "support/tostr.h"
using namespace lyx::support;
using lyx::pos_type;
using std::ostream;
using std::min;
using std::endl;
using std::auto_ptr;
using std::ostream;
void InsetERT::init()

View File

@ -21,17 +21,12 @@
#include "funcrequest.h"
#include "gettext.h"
#include "LaTeXFeatures.h"
#include "latexrunparams.h"
#include "lyx_main.h"
#include "lyxlex.h"
#include "lyxrc.h"
#include "Lsstream.h"
#include "frontends/lyx_gui.h"
#include "frontends/LyXView.h"
#include "frontends/Dialogs.h"
#include "support/FileInfo.h"
#include "support/filetools.h"
#include "support/forkedcall.h"
#include "support/lstrings.h"
@ -40,19 +35,16 @@
#include "support/path.h"
#include "support/path_defines.h"
#include "support/tostr.h"
#include "support/LAssert.h"
#include "support/translator.h"
#include <boost/bind.hpp>
#include <cstdio>
#include <utility>
namespace support = lyx::support;
using std::ostream;
using std::endl;
using std::auto_ptr;
using std::ostream;
namespace lyx {
namespace graphics {

View File

@ -12,7 +12,6 @@
#include <config.h>
#include "insetfloat.h"
#include "insettext.h"
#include "buffer.h"
#include "BufferView.h"
@ -23,24 +22,18 @@
#include "gettext.h"
#include "iterators.h"
#include "LaTeXFeatures.h"
#include "Lsstream.h"
#include "lyxfont.h"
#include "lyxlex.h"
#include "lyxtext.h"
#include "Lsstream.h"
#include "support/LOstream.h"
#include "support/lstrings.h"
#include "support/tostr.h"
#include "frontends/LyXView.h"
#include "frontends/Dialogs.h"
#include "Lsstream.h"
using namespace lyx::support;
using std::ostream;
using std::endl;
using std::auto_ptr;
using std::ostream;
// With this inset it will be possible to support the latex package

View File

@ -13,7 +13,6 @@
#include "insetfloatlist.h"
#include "buffer.h"
#include "BufferView.h"
#include "debug.h"
#include "Floating.h"
#include "FloatList.h"
@ -23,14 +22,13 @@
#include "lyxlex.h"
#include "metricsinfo.h"
#include "toc.h"
#include "Lsstream.h"
#include "support/lstrings.h"
using namespace lyx::support;
using std::ostream;
using std::endl;
using std::ostream;
InsetFloatList::InsetFloatList()

View File

@ -12,22 +12,18 @@
#include <config.h>
#include "insetfoot.h"
#include "gettext.h"
#include "lyxfont.h"
#include "BufferView.h"
#include "latexrunparams.h"
#include "lyxtext.h"
#include "insets/insettext.h"
#include "support/LOstream.h"
#include "debug.h"
// the following are needed just to get the layout of the enclosing
// paragraph. This seems a bit too much to me (JMarc)
#include "lyxlayout.h"
#include "paragraph_funcs.h"
#include "support/LOstream.h"
using std::ostream;
using std::auto_ptr;
using std::ostream;
InsetFoot::InsetFoot(BufferParams const & bp)

View File

@ -11,12 +11,9 @@
#include <config.h>
#include "insetfootlike.h"
#include "metricsinfo.h"
#include "lyxfont.h"
#include "buffer.h"
#include "lyxtext.h"
#include "support/LOstream.h"
#include "buffer.h"
#include "metricsinfo.h"
using std::ostream;

View File

@ -53,7 +53,6 @@ TODO
#include <config.h>
#include "insets/insetgraphics.h"
#include "insets/insetgraphicsParams.h"
#include "insets/renderers.h"
#include "buffer.h"
@ -64,18 +63,14 @@ TODO
#include "funcrequest.h"
#include "gettext.h"
#include "LaTeXFeatures.h"
#include "latexrunparams.h"
#include "Lsstream.h"
#include "lyxlex.h"
#include "lyxrc.h"
#include "paragraph_funcs.h"
#include "lyxtext.h"
#include "frontends/Alert.h"
#include "frontends/Dialogs.h"
#include "support/LAssert.h"
#include "support/filetools.h"
#include "support/LAssert.h"
#include "support/lyxalgo.h" // lyx::count
#include "support/lyxlib.h" // float_equal
#include "support/os.h"
@ -85,16 +80,12 @@ TODO
#include <boost/bind.hpp>
#include <boost/tuple/tuple.hpp>
#include <algorithm> // For the std::max
// set by Exporters
namespace support = lyx::support;
using namespace lyx::support;
using std::ostream;
using std::endl;
using std::auto_ptr;
using std::ostream;
namespace {

View File

@ -11,26 +11,26 @@
#include <config.h>
#include "insetgraphicsParams.h"
#include "debug.h"
#include "lyxlex.h"
#include "lyxrc.h"
#include "frontends/lyx_gui.h"
#include "graphics/GraphicsParams.h"
#include "support/filetools.h"
#include "support/lyxlib.h"
#include "support/LOstream.h"
#include "support/LAssert.h"
#include "support/lstrings.h"
#include "support/translator.h"
#include "lyxrc.h"
#include "debug.h"
#include "lyxlex.h"
#include "frontends/lyx_gui.h"
using namespace lyx::support;
using std::ostream;
namespace lyx {
namespace graphics {
/// The translator between the DisplayType and the corresponding lyx string.

View File

@ -10,12 +10,11 @@
#include <config.h>
#include "insethfill.h"
#include "support/LOstream.h"
using std::ostream;
InsetHFill::InsetHFill()
: InsetCommand(InsetCommandParams("hfill"))
{}

View File

@ -11,6 +11,7 @@
#include <config.h>
#include "insetinclude.h"
#include "buffer.h"
#include "buffer_funcs.h"
#include "bufferlist.h"
@ -20,36 +21,31 @@
#include "gettext.h"
#include "LaTeXFeatures.h"
#include "latexrunparams.h"
#include "Lsstream.h"
#include "lyxlex.h"
#include "lyxrc.h"
#include "metricsinfo.h"
#include "dimension.h"
#include "frontends/Dialogs.h"
#include "frontends/LyXView.h"
#include "frontends/Painter.h"
#include "support/filetools.h"
#include "support/FileInfo.h"
#include "support/FileMonitor.h"
#include "support/lstrings.h" // contains
#include "support/tostr.h"
#include "graphics/PreviewedInset.h"
#include "graphics/PreviewImage.h"
#include "support/FileInfo.h"
#include "support/FileMonitor.h"
#include "support/filetools.h"
#include "support/lstrings.h" // contains
#include "support/tostr.h"
#include <boost/bind.hpp>
#include <cstdlib>
#include "Lsstream.h"
using namespace lyx::support;
using std::ostream;
using std::endl;
using std::vector;
using std::pair;
using std::auto_ptr;
using std::ostream;
using std::pair;
using std::vector;
extern BufferList bufferlist;

View File

@ -9,19 +9,16 @@
*/
#include <config.h>
#include "insetindex.h"
#include "metricsinfo.h"
#include "BufferView.h"
#include "funcrequest.h"
#include "frontends/LyXView.h"
#include "frontends/Dialogs.h"
#include "LaTeXFeatures.h"
#include "gettext.h"
#include "support/LOstream.h"
#include "LaTeXFeatures.h"
#include "metricsinfo.h"
using std::ostream;
InsetIndex::InsetIndex(InsetCommandParams const & p)
: InsetCommand(p)
{}

View File

@ -10,23 +10,18 @@
#include <config.h>
#include "insetlabel.h"
#include "buffer.h"
#include "BufferView.h"
#include "funcrequest.h"
#include "gettext.h"
#include "lyxtext.h"
#include "support/lstrings.h"
#include "support/LOstream.h"
#include "support/lstrings.h" //frontStrip, strip
using namespace lyx::support;
using std::ostream;
using std::vector;
using std::pair;
using std::vector;
InsetLabel::InsetLabel(InsetCommandParams const & p)

View File

@ -13,20 +13,21 @@
#include "insetlatexaccent.h"
#include "debug.h"
#include "lyxrc.h"
#include "support/lstrings.h"
#include "BufferView.h"
#include "frontends/Painter.h"
#include "frontends/font_metrics.h"
#include "language.h"
#include "lyxlex.h"
#include "lyxrc.h"
#include "metricsinfo.h"
#include "frontends/font_metrics.h"
#include "frontends/Painter.h"
#include "support/lstrings.h"
using namespace lyx::support;
using std::ostream;
using std::endl;
using std::auto_ptr;
using std::ostream;
/* LatexAccent. Proper handling of accented characters */

View File

@ -9,18 +9,20 @@
*/
#include <config.h>
#include "insetlist.h"
#include "insets/insettext.h"
#include "BufferView.h"
#include "debug.h"
#include "gettext.h"
#include "lyxfont.h"
#include "BufferView.h"
#include "lyxtext.h"
#include "insets/insettext.h"
#include "support/LOstream.h"
#include "debug.h"
using std::ostream;
#include "support/LOstream.h"
using std::endl;
using std::ostream;
// This class is _far_ from finished. I hope that we can have a inset to
// handle the different lists that we have. It should also be possible

View File

@ -11,19 +11,14 @@
#include <config.h>
#include "insetmarginal.h"
#include "gettext.h"
#include "lyxfont.h"
#include "BufferView.h"
#include "lyxtext.h"
#include "insets/insettext.h"
#include "support/LOstream.h"
#include "debug.h"
using std::ostream;
using std::auto_ptr;
using std::ostream;
InsetMarginal::InsetMarginal(BufferParams const & bp)

View File

@ -12,28 +12,19 @@
#include <config.h>
#include "insetminipage.h"
#include "insettext.h"
#include "BufferView.h"
#include "debug.h"
#include "dimension.h"
#include "funcrequest.h"
#include "gettext.h"
#include "Lsstream.h"
#include "lyxfont.h"
#include "lyxlex.h"
#include "lyxtext.h"
#include "Lsstream.h"
#include "metricsinfo.h"
#include "frontends/LyXView.h"
#include "frontends/Dialogs.h"
#include "Lsstream.h"
#include "support/LOstream.h"
using std::ostream;
using std::endl;
using std::auto_ptr;
using std::ostream;
// Some information about Minipages in LaTeX:

View File

@ -14,19 +14,15 @@
#include "BufferView.h"
#include "debug.h"
#include "dimension.h"
#include "paragraph.h"
#include "lyxtext.h"
#include "metricsinfo.h"
#include "paragraph_funcs.h"
#include "support/LOstream.h"
#include "frontends/Painter.h"
#include "frontends/font_metrics.h"
#include "frontends/Painter.h"
using std::ostream;
using std::endl;
using std::ostream;
void InsetNewline::read(Buffer const &, LyXLex &)

View File

@ -13,26 +13,18 @@
#include <config.h>
#include "insetnote.h"
#include "insettext.h"
#include "buffer.h"
#include "BufferView.h"
#include "debug.h"
#include "funcrequest.h"
#include "gettext.h"
#include "language.h"
#include "LaTeXFeatures.h"
#include "lyxfont.h"
#include "lyxlex.h"
#include "lyxtext.h"
#include "metricsinfo.h"
#include "support/LOstream.h"
#include "support/lstrings.h"
#include "Lsstream.h"
using std::ostream;
using std::auto_ptr;
using std::ostream;
void InsetNote::init()

View File

@ -10,23 +10,15 @@
#include <config.h>
#include "insetoptarg.h"
#include "debug.h"
#include "insetoptarg.h"
#include "support/LOstream.h"
#include "frontends/Alert.h"
#include "support/lstrings.h" // frontStrip, strip
#include "lyxtext.h"
#include "buffer.h"
#include "gettext.h"
#include "BufferView.h"
#include "support/lstrings.h"
using std::ostream;
using std::vector;
using std::pair;
using std::auto_ptr;
using std::ostream;
using std::pair;
using std::vector;
InsetOptArg::InsetOptArg(BufferParams const & ins)

View File

@ -13,16 +13,12 @@
#include "insetquotes.h"
#include "buffer.h"
#include "BufferView.h"
#include "debug.h"
#include "dimension.h"
#include "language.h"
#include "LaTeXFeatures.h"
#include "latexrunparams.h"
#include "lyxfont.h"
#include "lyxlex.h"
#include "lyxrc.h"
#include "paragraph.h"
#include "metricsinfo.h"
#include "paragraph_funcs.h"
@ -34,9 +30,10 @@
using namespace lyx::support;
using std::ostream;
using std::endl;
using std::auto_ptr;
using std::ostream;
namespace {

View File

@ -9,22 +9,23 @@
*/
#include <config.h>
#include "insetref.h"
#include "buffer.h"
#include "BufferView.h"
#include "funcrequest.h"
#include "debug.h"
#include "gettext.h"
#include "LaTeXFeatures.h"
#include "frontends/LyXView.h"
#include "frontends/Dialogs.h"
#include "BufferView.h"
#include "support/lstrings.h"
using namespace lyx::support;
using std::ostream;
InsetRef::InsetRef(InsetCommandParams const & p, Buffer const & buf)
: InsetCommand(p), isLatex(buf.isLatex())
{}

View File

@ -16,19 +16,16 @@
#include "insetspace.h"
#include "debug.h"
#include "dimension.h"
#include "LaTeXFeatures.h"
#include "latexrunparams.h"
#include "BufferView.h"
#include "frontends/Painter.h"
#include "frontends/font_metrics.h"
#include "lyxlex.h"
#include "lyxfont.h"
#include "metricsinfo.h"
using std::ostream;
#include "frontends/font_metrics.h"
#include "frontends/Painter.h"
using std::max;
using std::auto_ptr;
using std::ostream;
InsetSpace::InsetSpace()

View File

@ -15,18 +15,16 @@
#include "insetspecialchar.h"
#include "debug.h"
#include "dimension.h"
#include "LaTeXFeatures.h"
#include "BufferView.h"
#include "frontends/Painter.h"
#include "frontends/font_metrics.h"
#include "lyxlex.h"
#include "lyxfont.h"
#include "metricsinfo.h"
using std::ostream;
#include "frontends/font_metrics.h"
#include "frontends/Painter.h"
using std::max;
using std::auto_ptr;
using std::ostream;
InsetSpecialChar::InsetSpecialChar(Kind k)

View File

@ -11,55 +11,41 @@
#include <config.h>
#include "insettabular.h"
#include "insettext.h"
#include "buffer.h"
#include "BufferView.h"
#include "lfuns.h"
#include "debug.h"
#include "dimension.h"
#include "funcrequest.h"
#include "FuncStatus.h"
#include "gettext.h"
#include "language.h"
#include "LaTeXFeatures.h"
#include "Lsstream.h"
#include "lyx_cb.h"
#include "lyxfunc.h"
#include "lyxlength.h"
#include "lyxlex.h"
#include "lyxtext.h"
#include "metricsinfo.h"
#include "paragraph_funcs.h"
#include "ParagraphParameters.h"
#include "undo_funcs.h"
#include "WordLangTuple.h"
#include "metricsinfo.h"
#include "paragraph_funcs.h"
#include "frontends/Alert.h"
#include "frontends/Dialogs.h"
#include "frontends/font_metrics.h"
#include "frontends/LyXView.h"
#include "frontends/Painter.h"
#include "support/LAssert.h"
#include "support/lstrings.h"
#include <fstream>
#include <algorithm>
#include <cstdlib>
#include "Lsstream.h"
using namespace lyx::support;
using namespace lyx::graphics;
using std::vector;
using std::ostream;
using std::ifstream;
using std::max;
using std::endl;
using std::swap;
using std::max;
using std::swap;
using std::auto_ptr;
using std::ifstream;
using std::ostream;
using std::vector;
namespace {

View File

@ -11,67 +11,45 @@
#include <config.h>
#include "insettext.h"
#include "insetnewline.h"
#include "buffer.h"
#include "BufferView.h"
#include "bufferview_funcs.h"
#include "CutAndPaste.h"
#include "debug.h"
#include "dimension.h"
#include "funcrequest.h"
#include "gettext.h"
#include "errorlist.h"
#include "intl.h"
#include "LaTeXFeatures.h"
#include "LColor.h"
#include "Lsstream.h"
#include "lyxfont.h"
#include "lyxcursor.h"
#include "lyxfind.h"
#include "lyxlex.h"
#include "lyxrow.h"
#include "lyxrc.h"
#include "lyxtext.h"
#include "paragraph.h"
#include "metricsinfo.h"
#include "paragraph_funcs.h"
#include "ParagraphParameters.h"
#include "trans_mgr.h"
#include "rowpainter.h"
#include "sgml.h"
#include "undo_funcs.h"
#include "WordLangTuple.h"
#include "paragraph_funcs.h"
#include "sgml.h"
#include "rowpainter.h"
#include "insetnewline.h"
#include "metricsinfo.h"
#include "textcursor.h"
#include "frontends/Alert.h"
#include "frontends/Dialogs.h"
#include "frontends/font_metrics.h"
#include "frontends/LyXView.h"
#include "frontends/Painter.h"
#include "frontends/screen.h"
#include "support/textutils.h"
#include "support/LAssert.h"
#include "support/lstrings.h"
#include "support/lyxalgo.h" // lyx::count
#include <boost/bind.hpp>
#include <fstream>
#include <algorithm>
#include <cstdlib>
using std::ostream;
using std::ifstream;
using std::endl;
using std::for_each;
using std::min;
using std::max;
using std::make_pair;
using std::vector;
using std::pair;
using std::for_each;
using std::auto_ptr;
using std::ostream;
using std::ifstream;
using std::pair;
using std::vector;
using namespace lyx::support;
using namespace lyx::graphics;

View File

@ -10,19 +10,21 @@
#include <config.h>
#include "insettheorem.h"
#include "metricsinfo.h"
#include "gettext.h"
#include "lyxfont.h"
#include "BufferView.h"
#include "lyxtext.h"
#include "support/LOstream.h"
#include "debug.h"
#include "insets/insettext.h"
using std::ostream;
#include "debug.h"
#include "BufferView.h"
#include "gettext.h"
#include "lyxfont.h"
#include "lyxtext.h"
#include "metricsinfo.h"
#include "support/LOstream.h"
using std::endl;
using std::ostream;
/*
The intention is to be able to create arbitrary theorem like environments

View File

@ -11,18 +11,13 @@
#include "insettoc.h"
#include "BufferView.h"
#include "debug.h"
#include "funcrequest.h"
#include "gettext.h"
#include "metricsinfo.h"
#include "toc.h"
#include "frontends/LyXView.h"
#include "frontends/Dialogs.h"
using std::vector;
using std::ostream;
using std::vector;
InsetTOC::InsetTOC(InsetCommandParams const & p)

View File

@ -11,16 +11,14 @@
#include <config.h>
#include "inseturl.h"
#include "funcrequest.h"
#include "BufferView.h"
#include "LaTeXFeatures.h"
#include "latexrunparams.h"
#include "frontends/LyXView.h"
#include "debug.h"
#include "frontends/Dialogs.h"
#include "support/lstrings.h"
#include "LaTeXFeatures.h"
#include "gettext.h"
#include "support/lstrings.h"
using namespace lyx::support;
using std::ostream;

View File

@ -11,31 +11,25 @@
#include <config.h>
#include "insetwrap.h"
#include "insettext.h"
#include "buffer.h"
#include "BufferView.h"
#include "debug.h"
#include "funcrequest.h"
#include "Floating.h"
#include "FloatList.h"
#include "funcrequest.h"
#include "gettext.h"
#include "LaTeXFeatures.h"
#include "Lsstream.h"
#include "lyxfont.h"
#include "lyxlex.h"
#include "lyxtext.h"
#include "Lsstream.h"
#include "frontends/LyXView.h"
#include "frontends/Dialogs.h"
#include "support/LOstream.h"
#include "support/tostr.h"
using std::ostream;
#include "Lsstream.h"
using std::endl;
using std::auto_ptr;
using std::ostream;
namespace {

View File

@ -11,15 +11,17 @@
#include <config.h>
#include "mailinset.h"
#include "inset.h"
#include "BufferView.h"
#include "frontends/LyXView.h"
#include "frontends/Dialogs.h"
#include "frontends/LyXView.h"
#include "support/LAssert.h"
#include "Lsstream.h"
using namespace lyx::support;
void MailInset::showDialog(BufferView * bv) const
{
Assert(bv);

View File

@ -12,7 +12,6 @@
#include "insets/renderers.h"
#include "buffer.h"
#include "BufferView.h"
#include "gettext.h"
#include "metricsinfo.h"

View File

@ -14,16 +14,18 @@
#include <config.h>
#include "updatableinset.h"
#include "BufferView.h"
#include "funcrequest.h"
#include "debug.h"
#include "lyxfont.h"
#include "WordLangTuple.h"
#include "funcrequest.h"
#include "lyxtext.h"
#include "WordLangTuple.h"
#include "support/lstrings.h"
using namespace lyx::support;
// some stuff for inset locking
UpdatableInset::UpdatableInset()