X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flyxtextclass.h;h=e400338ae4ad911c8c62b0a6d1efa2b437547b36;hb=37e82a546392d43f787826b85481a11f2a27af15;hp=e190af915e2394af31b169fb7c5c7dde00f73b6e;hpb=a9cd48f40e48a0e7c00f2bf9d33f01f19a0d83db;p=lyx.git diff --git a/src/lyxtextclass.h b/src/lyxtextclass.h index e190af915e..e400338ae4 100644 --- a/src/lyxtextclass.h +++ b/src/lyxtextclass.h @@ -27,6 +27,7 @@ struct CharStyle { std::string name; std::string latextype; std::string latexname; + std::string latexparam; LyXFont font; LyXFont labelfont; std::string preamble; @@ -83,6 +84,8 @@ public: /// Sees to that the textclass structure has been loaded bool load() const; + /// Has this layout file been loaded yet? + bool loaded() const { return loaded_; } /// the list of floats defined in the document class FloatList & floats(); @@ -226,7 +229,7 @@ private: LayoutList layoutlist_; /// CharStyles available to this layout mutable CharStyles charstylelist_; - + /// available types of float, eg. figure, algorithm. boost::shared_ptr floatlist_; @@ -234,7 +237,7 @@ private: boost::shared_ptr ctrs_; /// Has this layout file been loaded yet? - mutable bool loaded; + mutable bool loaded_; /// Is the TeX class available? bool texClassAvail_;