Rearrange #includes in alphabetical and directory order.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7672
a592a061-630c-0410-9148-
cb99ea01b6c8
#include <config.h>
#include "Alert.h"
#include <config.h>
#include "Alert.h"
+#include "Alert_pimpl.h"
#include "debug.h"
#include "lyx_gui.h"
#include "debug.h"
#include "lyx_gui.h"
-#include "Alert_pimpl.h"
-
int Alert::prompt(string const & title, string const & question,
int default_button, int escape_button,
int Alert::prompt(string const & title, string const & question,
int default_button, int escape_button,
-2003-09-04 Angus Leeming <angus@localhost.localdomain>
+2003-09-05 Angus Leeming <leeming@lyx.org>
+
+ * WorkArea.C: removed. It was entirely empty.
+ * Makefile.am: remove WorkArea.C
+
+ * *.C: rearranged #includes in alphabetical and directory order.
+
+2003-09-04 Angus Leeming <leeming@lyx.org>
* Alert_pimpl.h: move out #include "debug.h".
* LyXView.h: move out #include "types.h".
* Alert_pimpl.h: move out #include "debug.h".
* LyXView.h: move out #include "types.h".
#include <config.h>
#include "Dialogs.h"
#include <config.h>
#include "Dialogs.h"
#include "controllers/Dialog.h"
#include "controllers/Dialog.h"
#include <boost/signals/signal2.hpp>
#include <boost/bind.hpp>
#include <boost/signals/signal2.hpp>
#include <boost/bind.hpp>
#include <config.h>
#include "LyXView.h"
#include <config.h>
#include "LyXView.h"
+#include "Dialogs.h"
+#include "Timeout.h"
+#include "Toolbar.h"
+#include "Menubar.h"
+
+#include "buffer.h"
+#include "BufferView.h"
+#include "bufferview_funcs.h"
+#include "funcrequest.h"
+#include "gettext.h"
+#include "lyx_cb.h"
+#include "lyxfunc.h"
#include "lyxrc.h"
#include "lyxtext.h"
#include "lyxrc.h"
#include "lyxtext.h"
-#include "gettext.h"
-#include "lyxfunc.h"
-#include "funcrequest.h"
-#include "lyx_cb.h"
-#include "BufferView.h"
-#include "bufferview_funcs.h"
-#include "Dialogs.h"
-#include "Toolbar.h"
-#include "Timeout.h"
-#include "Menubar.h"
#include "controllers/ControlCommandBuffer.h"
#include "controllers/ControlCommandBuffer.h"
#include "mathed/math_cursor.h"
#include "support/filetools.h" // OnlyFilename()
#include "mathed/math_cursor.h"
#include "support/filetools.h" // OnlyFilename()
using namespace lyx::support;
using std::endl;
using namespace lyx::support;
using std::endl;
Timeout.h \
Toolbar.C \
Toolbar.h \
Timeout.h \
Toolbar.C \
Toolbar.h \
WorkArea.h \
WorkAreaFactory.h \
font_metrics.h \
WorkArea.h \
WorkAreaFactory.h \
font_metrics.h \
+#include "font_metrics.h"
#include "lyxfont.h"
#include "WorkArea.h"
#include "lyxfont.h"
#include "WorkArea.h"
-#include "frontends/font_metrics.h"
Painter & Painter::button(int x, int y, int w, int h)
{
fillRectangle(x, y, w, h, LColor::buttonbg);
Painter & Painter::button(int x, int y, int w, int h)
{
fillRectangle(x, y, w, h, LColor::buttonbg);
#include <config.h>
#include "Timeout.h"
#include <config.h>
#include "Timeout.h"
#include "support/LAssert.h"
using namespace lyx::support;
#include "support/LAssert.h"
using namespace lyx::support;
-#include "ToolbarBackend.h"
#include "debug.h"
#include "LyXAction.h"
#include "debug.h"
#include "LyXAction.h"
+#include "ToolbarBackend.h"
Toolbar::Toolbar()
: last_textclass_(-1)
Toolbar::Toolbar()
: last_textclass_(-1)
+++ /dev/null
-/**
- * \file WorkArea.C
- * This file is part of LyX, the document processor.
- * Licence details can be found in the file COPYING.
- *
- * \author Asger and Juergen
- *
- * Full author contact details are available in file CREDITS.
- */
-
-#include <config.h>
-
-
-#include "WorkArea.h"
#include "guiapi.h"
#include "Dialogs.h"
#include "guiapi.h"
#include "Dialogs.h"
extern "C" {
void gui_show_dialog(Dialogs * d, char const * name, char const * data)
extern "C" {
void gui_show_dialog(Dialogs * d, char const * name, char const * data)
#include <config.h>
#include "screen.h"
#include <config.h>
#include "screen.h"
+#include "font_metrics.h"
+#include "lyx_gui.h"
+#include "Painter.h"
+#include "WorkArea.h"
-#include "lyxtext.h"
-#include "lyxrc.h"
-#include "lyxrow.h"
#include "BufferView.h"
#include "buffer.h"
#include "BufferView.h"
#include "buffer.h"
-#include "WorkArea.h"
-#include "Painter.h"
-#include "font_metrics.h"
-#include "language.h"
-#include "rowpainter.h"
-#include "insets/updatableinset.h"
-#include "lyx_gui.h"
-#include "metricsinfo.h"
-
-// Splash screen-specific stuff
+#include "lyxrc.h"
+#include "lyxrow.h"
+#include "lyxtext.h"
+#include "metricsinfo.h"
+#include "rowpainter.h"
-#include "graphics/GraphicsLoader.h"
+#include "insets/updatableinset.h"
+
#include "graphics/GraphicsImage.h"
#include "graphics/GraphicsImage.h"
+#include "graphics/GraphicsLoader.h"
#include "support/filetools.h" // LibFileSearch
#include "support/filetools.h" // LibFileSearch
using std::min;
using std::max;
using std::min;
using std::max;