more header disentangling

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3082 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2001-11-26 18:03:23 +00:00
parent a2f11c1208
commit 3f1021344b
7 changed files with 12 additions and 7 deletions

View File

@ -9,6 +9,7 @@
* lyxrow.[Ch]: * lyxrow.[Ch]:
* paragraph.[Ch]: * paragraph.[Ch]:
* paragraph_pimpl.[Ch]: * paragraph_pimpl.[Ch]:
* sp_spell.C:
* text.C: * text.C:
* text2.C: reduce header dependencies, introduce type for positions * text2.C: reduce header dependencies, introduce type for positions

View File

@ -16,6 +16,7 @@
#include "insetert.h" #include "insetert.h"
#include "gettext.h" #include "gettext.h"
#include "lyxfont.h" #include "lyxfont.h"
#include "language.h"
#include "buffer.h" #include "buffer.h"
#include "insets/insettext.h" #include "insets/insettext.h"
#include "support/LOstream.h" #include "support/LOstream.h"

View File

@ -17,6 +17,7 @@
#include "insetnote.h" #include "insetnote.h"
#include "gettext.h" #include "gettext.h"
#include "lyxfont.h" #include "lyxfont.h"
#include "language.h"
#include "buffer.h" #include "buffer.h"
#include "BufferView.h" #include "BufferView.h"
#include "lyxtext.h" #include "lyxtext.h"

View File

@ -22,6 +22,7 @@
#include "debug.h" #include "debug.h"
#include "lyxrc.h" #include "lyxrc.h"
#include "lyxlex.h" #include "lyxlex.h"
#include "language.h"
#include "FontLoader.h" #include "FontLoader.h"
#include "support/lstrings.h" #include "support/lstrings.h"
#include "bufferparams.h" // stateText #include "bufferparams.h" // stateText
@ -158,6 +159,11 @@ bool LyXFont::FontBits::operator!=(LyXFont::FontBits const & fb1) const
} }
LyXFont::LyXFont()
: bits(sane), lang(default_language)
{}
LyXFont::LyXFont(LyXFont::FONT_INIT1) LyXFont::LyXFont(LyXFont::FONT_INIT1)
#ifndef INHERIT_LANGUAGE #ifndef INHERIT_LANGUAGE
: bits(inherit), lang(default_language) : bits(inherit), lang(default_language)

View File

@ -20,10 +20,10 @@
#include "LString.h" #include "LString.h"
#include "LColor.h" #include "LColor.h"
#include "language.h"
class LyXLex; class LyXLex;
class BufferParams; class BufferParams;
class Language;
/// ///
@ -379,12 +379,6 @@ LyXFont::FONT_SHAPE LyXFont::shape() const
} }
inline
LyXFont::LyXFont()
: bits(sane), lang(default_language)
{}
inline inline
LyXFont::FONT_FAMILY LyXFont::family() const LyXFont::FONT_FAMILY LyXFont::family() const
{ {

View File

@ -16,6 +16,7 @@
#include "paragraph_pimpl.h" #include "paragraph_pimpl.h"
#include "texrow.h" #include "texrow.h"
#include "language.h"
#include "bufferparams.h" #include "bufferparams.h"
#include "encoding.h" #include "encoding.h"
#include "lyxrc.h" #include "lyxrc.h"

View File

@ -46,6 +46,7 @@
#include "LString.h" #include "LString.h"
#include "support/lstrings.h" #include "support/lstrings.h"
#include "lyxrc.h" #include "lyxrc.h"
#include "language.h"
#include "debug.h" #include "debug.h"
#include "encoding.h" #include "encoding.h"
#include "sp_ispell.h" #include "sp_ispell.h"