]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetLayout.h
Change string
[lyx.git] / src / insets / InsetLayout.h
index 477b0c2609eb4a4e11e4fb58acaa07d762aabcf5..4706a6d42f4612e046f2dc42511edcd77cf42f08 100644 (file)
@@ -15,7 +15,6 @@
 
 #include "ColorCode.h"
 #include "FontInfo.h"
-#include "Lexer.h"
 
 #include "support/docstring.h"
 
 
 namespace lyx {
 
+class Lexer;
+
 ///
 class InsetLayout {
 public:
        ///
        InsetLayout();
        ///
+       enum InsetDecoration {
+               Classic,
+               Minimalistic,
+               Conglomerate,
+               Default
+       };
+       ///
        bool read(Lexer & lexrc);
        ///
        docstring name() const { return name_; };
@@ -38,8 +46,7 @@ public:
        ///
        docstring labelstring() const { return labelstring_; };
        ///
-       //FIXME This could be an enum
-       std::string decoration() const { return decoration_; };
+       InsetDecoration decoration() const { return decoration_; };
        ///
        std::string latextype() const { return latextype_; };
        ///
@@ -76,7 +83,7 @@ private:
        ///
        docstring labelstring_;
        ///
-       std::string decoration_;
+       InsetDecoration decoration_;
        ///
        std::string latextype_;
        ///