X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetLayout.h;h=27eae62e563cf5dd25b2b0096fb05477be4c4202;hb=2c357c1d23b7b83839a9beb8225d4f1ae4f793b4;hp=477b0c2609eb4a4e11e4fb58acaa07d762aabcf5;hpb=20cf42b7418a73463f313ae685d10107e6966aa3;p=lyx.git diff --git a/src/insets/InsetLayout.h b/src/insets/InsetLayout.h index 477b0c2609..27eae62e56 100644 --- a/src/insets/InsetLayout.h +++ b/src/insets/InsetLayout.h @@ -15,7 +15,6 @@ #include "ColorCode.h" #include "FontInfo.h" -#include "Lexer.h" #include "support/docstring.h" @@ -24,6 +23,16 @@ namespace lyx { +class Lexer; + +/// +enum InsetDecoration { + Deco_Classic, + Deco_Minimalistic, + Deco_Conglomerate, + Deco_Default +}; + /// class InsetLayout { public: @@ -38,8 +47,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 +84,7 @@ private: /// docstring labelstring_; /// - std::string decoration_; + InsetDecoration decoration_; /// std::string latextype_; ///