]> git.lyx.org Git - features.git/commitdiff
Forward declare LatexRunParams in converter.h.
authorAngus Leeming <leeming@lyx.org>
Sat, 6 Sep 2003 23:36:02 +0000 (23:36 +0000)
committerAngus Leeming <leeming@lyx.org>
Sat, 6 Sep 2003 23:36:02 +0000 (23:36 +0000)
Remove #include "lyxrc.h" from encoding.h.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7700 a592a061-630c-0410-9148-cb99ea01b6c8

24 files changed:
src/ChangeLog
src/LaTeXFeatures.C
src/bufferparams.C
src/bufferparams.h
src/converter.h
src/encoding.C
src/encoding.h
src/exporter.C
src/frontends/qt2/lyx_gui.C
src/frontends/qt2/qfont_loader.C
src/frontends/xforms/XPainter.C
src/frontends/xforms/xfont_metrics.C
src/graphics/PreviewLoader.C
src/insets/insetexternal.C
src/insets/insetgraphics.C
src/ispell.C
src/language.C
src/lyx_main.C
src/lyxfunc.C
src/paragraph.C
src/paragraph_funcs.C
src/paragraph_pimpl.C
src/rowpainter.C
src/text.C

index 690847b60951b03481e6d498c718ae5f62b5a3f5..5f0c9124f10046660128c68b44877212f1fb4c17 100644 (file)
@@ -1,3 +1,8 @@
+2003-09-07  Angus Leeming  <leeming@lyx.org>
+
+       * converter.h: forward declare LatexRunParams.
+       * encoding.h: remove #include "lyxrc.h"
+
 2003-09-06  Angus Leeming  <leeming@lyx.org>
 
        * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just one,
index 49b88bf85f2e0d649b3468156fbb6a113942e69d..4238f6a28b81744f4b73c1b9072a4a73a3a83f84 100644 (file)
 #include <config.h>
 
 #include "LaTeXFeatures.h"
-#include "debug.h"
-#include "lyx_sty.h"
+
 #include "bufferparams.h"
+#include "debug.h"
+#include "encoding.h"
 #include "Floating.h"
 #include "FloatList.h"
 #include "language.h"
-#include "encoding.h"
-#include "support/std_sstream.h"
+#include "lyx_sty.h"
+#include "lyxrc.h"
 
 #include "support/filetools.h"
 
+#include "support/std_sstream.h"
+
 using namespace lyx::support;
 
 using lyx::textclass_type;
index 2c402a7075e03f0221e85b23c0ab46d31de9febe..5b1affb560b79865bdc9a445f77e0698b05fddc6 100644 (file)
 #include <config.h>
 
 #include "bufferparams.h"
+
+#include "Bullet.h"
 #include "debug.h"
 #include "encoding.h"
 #include "gettext.h"
 #include "language.h"
 #include "LaTeXFeatures.h"
-#include "support/std_sstream.h"
+#include "latexrunparams.h"
 #include "lyxlex.h"
+#include "lyxrc.h"
 #include "lyxtextclasslist.h"
 #include "tex-strings.h"
 #include "texrow.h"
 
 #include "support/lyxalgo.h" // for lyx::count
 
+#include "support/std_sstream.h"
 
 using namespace lyx::support;
 
+using std::endl;
+
 using std::istringstream;
 using std::ostream;
 using std::ostringstream;
-using std::endl;
 using std::pair;
 
 
index 83e62ffb8e27df6bb9d1629b00cf5efd87e299b9..5e13ba4f72ff976fa936f72cca6212547f343e53 100644 (file)
 #ifndef BUFFERPARAMS_H
 #define BUFFERPARAMS_H
 
-#include "support/std_string.h"
-#include "vspace.h"
-#include "Spacing.h"
+#include "author.h"
+#include "BranchList.h"
 #include "Bullet.h"
 #include "lyxtextclass.h"
-#include "author.h"
 #include "paper.h"
-#include "BranchList.h"
+#include "Spacing.h"
+#include "vspace.h"
 
 #include "insets/insetquotes.h"
 
 #include <boost/array.hpp>
+
+#include "support/std_string.h"
 #include <vector>
 
 class LyXLex;
index 943e03e9a361497cd2da749a5b80fffacd1391f1..40cb7e9a37296de81640f972f0e8095d12631787 100644 (file)
 #ifndef CONVERTER_H
 #define CONVERTER_H
 
-#include "latexrunparams.h"
 #include "graph.h"
 
 #include <vector>
 
+class Buffer;
 class Format;
 class Formats;
+class LatexRunParams;
 
-class Buffer;
 
 ///
 class Converter {
index 3760f859636a50ddedb45a982b8617c39361c43d..4ef0bd9ead7cc4f2cad8484fd5affb22d6419a0e 100644 (file)
 #include <config.h>
 
 #include "encoding.h"
-#include "lyxlex.h"
+
 #include "debug.h"
+#include "lyxlex.h"
+#include "lyxrc.h"
 
 #ifndef CXX_GLOBAL_CSTD
 using std::strtol;
index 9bfd8948c1d9d6a4e338f9aac597a2955d0add9a..832cf465170eec87c68bb457a54edb7eef6fe0ee 100644 (file)
@@ -14,8 +14,6 @@
 #define ENCODING_H
 
 #include "support/std_string.h"
-#include "lyxrc.h"
-
 #include <map>
 
 ///
index b204da466d4e2fec0bdf8489a539ff5772ff5510..6ca03d33350d0ea672b0f886296d56fdd4121c4d 100644 (file)
 #include <config.h>
 
 #include "exporter.h"
+
 #include "buffer.h"
 #include "buffer_funcs.h"
-#include "support/filetools.h"
-#include "lyxrc.h"
 #include "converter.h"
 #include "format.h"
-#include "frontends/Alert.h"
 #include "gettext.h"
+#include "latexrunparams.h"
+#include "lyxrc.h"
+
+#include "frontends/Alert.h"
 
+#include "support/filetools.h"
 
 using namespace lyx::support;
 
index 989ec9698966297609c443bb82cbc050aced44f1..79a2abca9991375f4e92339dda89d3b6dd054e5f 100644 (file)
@@ -22,6 +22,7 @@
 // FIXME: move this stuff out again
 #include "bufferlist.h"
 #include "lyxfunc.h"
+#include "lyxrc.h"
 #include "lyxserver.h"
 #include "BufferView.h"
 
index a976b80c3e4d75a5c25e7e128ad114ec33b456e3..5377ff20072493649eaaaaab0d7151f30ae6b4bb 100644 (file)
@@ -15,6 +15,7 @@
 #include "qfont_loader.h"
 #include "qt_helpers.h"
 #include "debug.h"
+#include "lyxrc.h"
 
 #include "support/lstrings.h"
 #include "frontends/lyx_gui.h"
index 7a937d34f9eb019da528810907d089321ab19f1c..2b82c361bcd6a941f998433a130aa19b2bfdd35b 100644 (file)
@@ -21,6 +21,7 @@
 #include "encoding.h"
 #include "language.h"
 #include "lyxfont.h"
+#include "lyxrc.h"
 
 #include "support/lstrings.h"
 
index 9139707d393f7bddc358df13d0fee95689159f7e..742fb7b78979799b8a18660ddd8f0877ced0e585 100644 (file)
@@ -16,6 +16,7 @@
 
 #include "encoding.h"
 #include "language.h"
+#include "lyxrc.h"
 
 #include "frontends/lyx_gui.h"
 
index e73480b26895c60d3dd699362971fb2d77d8f3d7..f2b049853bec736f2f3040d62ddc85adae8931fb 100644 (file)
@@ -15,8 +15,9 @@
 
 #include "buffer.h"
 #include "converter.h"
-#include "format.h"
 #include "debug.h"
+#include "format.h"
+#include "latexrunparams.h"
 #include "lyxrc.h"
 
 #include "frontends/lyx_gui.h" // hexname
@@ -46,9 +47,9 @@ using std::make_pair;
 using std::setfill;
 using std::setw;
 
+using std::ifstream;
 using std::list;
 using std::map;
-using std::ifstream;
 using std::ofstream;
 using std::ostream;
 using std::ostringstream;
index 2607db4ff8e6be398de57a90d1c8685b3eedfd74..e8cfe51f81c98aeddca895380a928cc07175c688 100644 (file)
@@ -21,6 +21,7 @@
 #include "funcrequest.h"
 #include "gettext.h"
 #include "LaTeXFeatures.h"
+#include "latexrunparams.h"
 #include "lyxlex.h"
 #include "lyxrc.h"
 #include "support/std_sstream.h"
index 5b5a5cad3e09d8e1b364db2749bd3098cf620e47..e80ea5bb3465f65ccc2421271b9841afda39bd34 100644 (file)
@@ -63,7 +63,7 @@ TODO
 #include "funcrequest.h"
 #include "gettext.h"
 #include "LaTeXFeatures.h"
-#include "support/std_sstream.h"
+#include "latexrunparams.h"
 #include "lyxlex.h"
 #include "lyxrc.h"
 
@@ -80,6 +80,8 @@ TODO
 #include <boost/bind.hpp>
 #include <boost/tuple/tuple.hpp>
 
+#include "support/std_sstream.h"
+
 namespace support = lyx::support;
 using namespace lyx::support;
 
index 528a6130dc2ab784b17e27961cab2771ee2d479a..2dae4f04bde1cea5f054c3a47140e51c7f275521 100644 (file)
 
 #include <config.h>
 
-#include "language.h"
+#include "ispell.h"
+
+#include "bufferparams.h"
 #include "debug.h"
 #include "encoding.h"
-#include "ispell.h"
-#include "WordLangTuple.h"
 #include "gettext.h"
-#include "bufferparams.h"
+#include "language.h"
+#include "lyxrc.h"
+#include "WordLangTuple.h"
 
 #include "support/forkedcall.h"
 
index 9a81295ba81949eb434a9291b89fbf9a5eaaf375..c960edbca1e0be02a5f531cce9c9e715a373d46f 100644 (file)
 #include <config.h>
 
 #include "language.h"
+
+#include "debug.h"
 #include "encoding.h"
 #include "lyxlex.h"
-#include "debug.h"
+#include "lyxrc.h"
 
 using std::endl;
 
index 1cf95d3496e53d633c83a2737a89febef6141137..5aa42b2e9198848bf798a948186742cb42fa197e 100644 (file)
@@ -31,6 +31,7 @@
 #include "lastfiles.h"
 #include "lyxfunc.h"
 #include "lyxlex.h"
+#include "lyxrc.h"
 #include "lyxtextclasslist.h"
 #include "lyxserver.h"
 #include "MenuBackend.h"
index 59d0e5e0fd4b5c8df2317d412a1025519e4c69c1..d0a60263b3d258b16dd6835a3444f81ef651b12a 100644 (file)
@@ -38,6 +38,7 @@
 #include "lyx_cb.h"
 #include "LyXAction.h"
 #include "lyxfind.h"
+#include "lyxrc.h"
 #include "lyxrow.h"
 #include "lyxserver.h"
 #include "paragraph.h"
index 1aff7412aac90343bda8a9eda724de6e0fb50eca..0eede1c38a00f825fe3f6c420428811488f62704 100644 (file)
@@ -26,6 +26,7 @@
 #include "gettext.h"
 #include "language.h"
 #include "latexrunparams.h"
+#include "lyxrc.h"
 #include "lyxrow.h"
 
 #include "insets/insetbibitem.h"
index fd1b460edc6568a8a4a9ea66db679770de034fd5..51bc0673628c511d75440f1d9a1003bbfc50a9ce 100644 (file)
 #include <config.h>
 
 #include "paragraph_funcs.h"
-#include "paragraph_pimpl.h"
+
 #include "buffer.h"
 #include "debug.h"
+#include "encoding.h"
 #include "errorlist.h"
+#include "factory.h"
 #include "gettext.h"
 #include "iterators.h"
 #include "language.h"
-#include "encoding.h"
 #include "lyxlex.h"
-#include "factory.h"
-#include "support/std_sstream.h"
-
-#include "support/lstrings.h"
-#include "support/LAssert.h"
+#include "lyxrc.h"
+#include "paragraph_pimpl.h"
 
-#include "insets/insetoptarg.h"
 #include "insets/insetbibitem.h"
+#include "insets/insethfill.h"
+#include "insets/insetlatexaccent.h"
+#include "insets/insetnewline.h"
+#include "insets/insetoptarg.h"
 #include "insets/insetspace.h"
 #include "insets/insetspecialchar.h"
-#include "insets/insetlatexaccent.h"
 #include "insets/insettabular.h"
-#include "insets/insethfill.h"
-#include "insets/insetnewline.h"
 
-extern string bibitemWidest(Buffer const &);
+#include "support/LAssert.h"
+#include "support/lstrings.h"
+
+#include "support/std_sstream.h"
 
 using namespace lyx::support;
 
@@ -45,6 +46,8 @@ using std::endl;
 using std::istringstream;
 using std::ostream;
 
+extern string bibitemWidest(Buffer const &);
+
 
 namespace {
 
index d451254629c3e59cf3bb3d57f2ff6def1fda4881..698a44ac418686b2e436db4037e868d4eb898366 100644 (file)
@@ -21,6 +21,7 @@
 #include "language.h"
 #include "LaTeXFeatures.h"
 #include "latexrunparams.h"
+#include "lyxrc.h"
 #include "texrow.h"
 
 #include "support/LAssert.h"
index 4ac708211eb35c486cd1caf39d1aeb10d05807fb..1bcc643c81ee8b7bf7c129bc13600b308f0792b6 100644 (file)
 
 #include <config.h>
 
-#include "frontends/Painter.h"
-#include "frontends/font_metrics.h"
-#include "support/LAssert.h"
-#include "paragraph_funcs.h"
-#include "support/textutils.h"
+#include "rowpainter.h"
 
-#include "insets/insettext.h"
-#include "ParagraphParameters.h"
-#include "BufferView.h"
 #include "buffer.h"
+#include "BufferView.h"
+#include "encoding.h"
 #include "gettext.h"
 #include "language.h"
-#include "encoding.h"
-#include "rowpainter.h"
+#include "lyxrc.h"
 #include "lyxrow.h"
 #include "lyxrow_funcs.h"
 #include "metricsinfo.h"
+#include "paragraph_funcs.h"
+#include "ParagraphParameters.h"
 
+#include "frontends/font_metrics.h"
+#include "frontends/Painter.h"
+
+#include "insets/insettext.h"
+
+#include "support/LAssert.h"
+#include "support/textutils.h"
 
 using namespace lyx::support;
 
index fc76f5f59d02a0979ba32d4a2fe5dc258f63f9d8..d7993fc610decb37db9682b968375f8ea50494b1 100644 (file)
 #include <config.h>
 
 #include "lyxtext.h"
-#include "gettext.h"
+
 #include "buffer.h"
+#include "BufferView.h"
 #include "debug.h"
 #include "encoding.h"
 #include "funcrequest.h"
-#include "frontends/LyXView.h"
-#include "frontends/font_metrics.h"
-#include "BufferView.h"
+#include "gettext.h"
 #include "language.h"
+#include "lyxrc.h"
+#include "lyxrow.h"
+#include "lyxrow_funcs.h"
+#include "paragraph_funcs.h"
 #include "ParagraphParameters.h"
-#include "undo_funcs.h"
+#include "rowpainter.h"
 #include "text_funcs.h"
+#include "undo_funcs.h"
 #include "WordLangTuple.h"
-#include "paragraph_funcs.h"
-#include "rowpainter.h"
-#include "lyxrow.h"
-#include "lyxrow_funcs.h"
+
+#include "frontends/font_metrics.h"
+#include "frontends/LyXView.h"
 
 #include "insets/insettext.h"
 
-#include "support/textutils.h"
 #include "support/LAssert.h"
 #include "support/lstrings.h"
+#include "support/textutils.h"
 
 
 using namespace lyx::support;