]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiCharacter.h
Compil fix.
[lyx.git] / src / frontends / qt4 / GuiCharacter.h
index 3be1401f30c8fb376baa6e4e2e3b6e07c4db23da..e590521a3ece30602b87d1440b32faec1822d78c 100644 (file)
 
 #include "GuiDialog.h"
 #include "ui_CharacterUi.h"
-#include "qt_helpers.h" // for LanguagePair
 #include "Font.h"
 
 #include <utility>
 
+#ifdef IGNORE
+#undef IGNORE
+#endif
 
 namespace lyx {
 namespace frontend {
@@ -45,6 +47,7 @@ typedef std::pair<QString, FontShape>  ShapePair;
 typedef std::pair<QString, FontSize>   SizePair;
 typedef std::pair<QString, FontState>  BarPair;
 typedef std::pair<QString, ColorCode>  ColorPair;
+typedef std::pair<QString, QString>    LanguagePair;
 
 class GuiCharacter : public GuiDialog, public Ui::CharacterUi
 {
@@ -66,6 +69,8 @@ private:
        void dispatchParams();
        bool isBufferDependent() const { return true; }
        FuncCode getLfun() const { return LFUN_FONT_FREE_UPDATE; }
+       void saveSession() const;
+       void restoreSession();
        //@}
 
        ///