From: Angus Leeming Date: Tue, 7 Oct 2003 08:16:04 +0000 (+0000) Subject: Self-consistent header files. X-Git-Tag: 1.6.10~15999 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=a5ead24854dfbd2200ef748e0404cf8b6ab68d29;p=features.git Self-consistent header files. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7867 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/WordLangTuple.h b/src/WordLangTuple.h index 69d2f742f3..86775431d3 100644 --- a/src/WordLangTuple.h +++ b/src/WordLangTuple.h @@ -12,6 +12,9 @@ #ifndef WORD_LANG_TUPLE_H #define WORD_LANG_TUPLE_H +#include + + /** * A word and its given language code ("en_US"). * This is used for spellchecking. diff --git a/src/frontends/Menubar.h b/src/frontends/Menubar.h index b6e3fe4e79..2056651a91 100644 --- a/src/frontends/Menubar.h +++ b/src/frontends/Menubar.h @@ -13,6 +13,8 @@ #ifndef MENUBAR_H #define MENUBAR_H +#include + /** * The LyX GUI independent menubar class * The GUI interface is implemented in the frontends diff --git a/src/frontends/qt2/QDocument.h b/src/frontends/qt2/QDocument.h index 4567612e78..608a20f24e 100644 --- a/src/frontends/qt2/QDocument.h +++ b/src/frontends/qt2/QDocument.h @@ -18,6 +18,8 @@ #include "Qt2BC.h" #include +#include + class ControlDocument; class QDocumentDialog; diff --git a/src/frontends/qt2/qlkey.h b/src/frontends/qt2/qlkey.h index 1017a12aa7..0e93006b95 100644 --- a/src/frontends/qt2/qlkey.h +++ b/src/frontends/qt2/qlkey.h @@ -13,6 +13,7 @@ #define QLKEY_H #include +#include /** diff --git a/src/mathed/math_gridinfo.h b/src/mathed/math_gridinfo.h index 18a2a5d6cc..a33bd1fc83 100644 --- a/src/mathed/math_gridinfo.h +++ b/src/mathed/math_gridinfo.h @@ -12,13 +12,15 @@ #ifndef MATH_GRIDINFO_H #define MATH_GRIDINFO_H +#include + struct ColInfo { ColInfo() : align('c'), rightline(0), leftline(false) {} char align; // column alignment - string width; // column width - string special; // special column alignment + std::string width; // column width + std::string special; // special column alignment int rightline; // a line on the right? bool leftline; }; @@ -39,7 +41,7 @@ struct CellInfo topline(false), bottomline(false) {} - string content; // cell content + std::string content; // cell content int multi; // multicolumn flag char align; // cell alignment bool leftline; // do we have a line on the left?