]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/controllers/character.h
Add a buffer_path arg to InsetGraphicsMailer's params2string, string2params.
[lyx.git] / src / frontends / controllers / character.h
index a6a0185e2a79a71ee4f6d2d4e4afd1eaea399c5d..a2438b4b75b386f9470edba7ce8a074c98dfe2d2 100644 (file)
@@ -1,7 +1,8 @@
 // -*- C++ -*-
 /**
  * \file character.h
- * See the file COPYING.
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
  * \author Angus Leeming
  *
@@ -11,9 +12,6 @@
 #ifndef CHARACTERHELPERS_H
 #define CHARACTERHELPERS_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
 #include "lyxfont.h"
 #include "LColor.h"
 
 /** Functions of use to the character GUI controller and view */
 namespace frnt {
-       ///
-       enum FONT_STATE {
-               ///
-               IGNORE,
-               ///
-               EMPH_TOGGLE,
-               ///
-               UNDERBAR_TOGGLE,
-               ///
-               NOUN_TOGGLE,
-               ///
-               INHERIT
-       };
 
+///
+enum FONT_STATE {
        ///
-       typedef std::pair<string, LyXFont::FONT_FAMILY> FamilyPair;
-       ///
-       typedef std::pair<string, LyXFont::FONT_SERIES> SeriesPair;
+       IGNORE,
        ///
-       typedef std::pair<string, LyXFont::FONT_SHAPE>  ShapePair;
+       EMPH_TOGGLE,
        ///
-       typedef std::pair<string, LyXFont::FONT_SIZE>   SizePair;
+       UNDERBAR_TOGGLE,
        ///
-       typedef std::pair<string, FONT_STATE> BarPair;
+       NOUN_TOGGLE,
        ///
-       typedef std::pair<string, LColor::color> ColorPair;
+       INHERIT
+};
 
-       ///
-       std::vector<FamilyPair>   const getFamilyData();
-       ///
-       std::vector<SeriesPair>   const getSeriesData();
-       ///
-       std::vector<ShapePair>    const getShapeData();
-       ///
-       std::vector<SizePair>     const getSizeData();
-       ///
-       std::vector<BarPair>      const getBarData();
-       ///
-       std::vector<ColorPair>    const getColorData();
+///
+typedef std::pair<string, LyXFont::FONT_FAMILY> FamilyPair;
+///
+typedef std::pair<string, LyXFont::FONT_SERIES> SeriesPair;
+///
+typedef std::pair<string, LyXFont::FONT_SHAPE>  ShapePair;
+///
+typedef std::pair<string, LyXFont::FONT_SIZE>   SizePair;
+///
+typedef std::pair<string, FONT_STATE> BarPair;
+///
+typedef std::pair<string, LColor::color> ColorPair;
+
+///
+std::vector<FamilyPair>   const getFamilyData();
+///
+std::vector<SeriesPair>   const getSeriesData();
+///
+std::vector<ShapePair>    const getShapeData();
+///
+std::vector<SizePair>     const getSizeData();
+///
+std::vector<BarPair>      const getBarData();
+///
+std::vector<ColorPair>    const getColorData();
 
 } // namespace frnt