mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-06 00:10:59 +00:00
Reduce 115 dependencies on RowList.h to just 10 dependencies on lyxrow.h.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7692 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
b5f20ef5ce
commit
b0a5773d95
@ -1,3 +1,22 @@
|
||||
2003-09-06 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* RowList_fwd.h: new file, forward-declaring Row rather than
|
||||
#including lyxrow.h
|
||||
|
||||
* lyxrow_funcs.h:
|
||||
* lyxtext.h:
|
||||
* paragraph.h:
|
||||
* insets/insettext.h: use it instead of RowList.h
|
||||
|
||||
* bufferview_funcs.C:
|
||||
* lyxfunc.C:
|
||||
* lyxrow_funcs.C:
|
||||
* paragraph.C:
|
||||
* rowpainter.C:
|
||||
* text.C:
|
||||
* text2.C:
|
||||
* text3.C: #include "RowList.h".
|
||||
|
||||
2003-09-05 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* factory.C (createInset):
|
||||
|
21
src/RowList_fwd.h
Normal file
21
src/RowList_fwd.h
Normal file
@ -0,0 +1,21 @@
|
||||
// -*- C++ -*-
|
||||
/**
|
||||
* \file RowList_fwd.h
|
||||
* This file is part of LyX, the document processor.
|
||||
* Licence details can be found in the file COPYING.
|
||||
*
|
||||
* \author Angus Leeming
|
||||
*
|
||||
* Full author contact details are available in file CREDITS.
|
||||
*/
|
||||
|
||||
#ifndef ROW_LIST_FWD_H
|
||||
#define ROW_LIST_FWD_H
|
||||
|
||||
#include <list>
|
||||
|
||||
class Row;
|
||||
|
||||
typedef std::list<Row> RowList;
|
||||
|
||||
#endif
|
@ -20,6 +20,7 @@
|
||||
#include "language.h"
|
||||
#include "gettext.h"
|
||||
#include "ParagraphParameters.h"
|
||||
#include "RowList.h"
|
||||
|
||||
#include "frontends/LyXView.h"
|
||||
#include "frontends/Alert.h"
|
||||
|
@ -16,7 +16,7 @@
|
||||
#include "support/std_string.h"
|
||||
#include "LColor.h"
|
||||
#include "ParagraphList.h"
|
||||
#include "RowList.h"
|
||||
#include "RowList_fwd.h"
|
||||
#include "dimension.h"
|
||||
#include "lyxtext.h"
|
||||
|
||||
|
@ -44,6 +44,7 @@
|
||||
#include "lyxfind.h"
|
||||
#include "undo_funcs.h"
|
||||
#include "ParagraphParameters.h"
|
||||
#include "RowList.h"
|
||||
|
||||
#include "insets/insetcommand.h"
|
||||
#include "insets/insetexternal.h"
|
||||
|
@ -15,6 +15,7 @@
|
||||
#include "lyxtext.h"
|
||||
#include "lyxlayout.h"
|
||||
#include "debug.h"
|
||||
#include "RowList.h"
|
||||
|
||||
#include "support/LAssert.h"
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
#ifndef LYXROW_FUNCS_H
|
||||
#define LYXROW_FUNCS_H
|
||||
|
||||
#include "RowList.h"
|
||||
#include "RowList_fwd.h"
|
||||
#include "support/types.h"
|
||||
|
||||
class Paragraph;
|
||||
|
@ -18,7 +18,7 @@
|
||||
#include "layout.h"
|
||||
#include "LColor.h"
|
||||
#include "insets/inset.h"
|
||||
#include "RowList.h"
|
||||
#include "RowList_fwd.h"
|
||||
#include "bufferview_funcs.h"
|
||||
#include "textcursor.h"
|
||||
|
||||
|
@ -26,6 +26,7 @@
|
||||
#include "gettext.h"
|
||||
#include "language.h"
|
||||
#include "latexrunparams.h"
|
||||
#include "RowList.h"
|
||||
|
||||
#include "support/std_sstream.h"
|
||||
|
||||
|
@ -24,7 +24,7 @@
|
||||
|
||||
#include "support/types.h"
|
||||
#include "changes.h"
|
||||
#include "RowList.h"
|
||||
#include "RowList_fwd.h"
|
||||
|
||||
#include "support/std_string.h"
|
||||
|
||||
|
@ -27,6 +27,7 @@
|
||||
#include "rowpainter.h"
|
||||
#include "lyxrow_funcs.h"
|
||||
#include "metricsinfo.h"
|
||||
#include "RowList.h"
|
||||
|
||||
|
||||
using namespace lyx::support;
|
||||
|
@ -33,6 +33,7 @@
|
||||
#include "paragraph_funcs.h"
|
||||
#include "rowpainter.h"
|
||||
#include "lyxrow_funcs.h"
|
||||
#include "RowList.h"
|
||||
|
||||
#include "insets/insettext.h"
|
||||
|
||||
|
@ -40,6 +40,7 @@
|
||||
#include "lyxrow_funcs.h"
|
||||
#include "metricsinfo.h"
|
||||
#include "paragraph_funcs.h"
|
||||
#include "RowList.h"
|
||||
|
||||
#include "insets/insetbibitem.h"
|
||||
#include "insets/insetenv.h"
|
||||
|
@ -38,6 +38,7 @@
|
||||
#include "insets/insetnewline.h"
|
||||
#include "undo_funcs.h"
|
||||
#include "text_funcs.h"
|
||||
#include "RowList.h"
|
||||
|
||||
#include <clocale>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user