]> git.lyx.org Git - lyx.git/blobdiff - src/Floating.h
Remove obsolete (and false) comment.
[lyx.git] / src / Floating.h
index a5f1ddcd9c5e6e0559db1f4f821f6f49b6ff4f06..f013ed2270cf9129cac4965178ec6e8c0f854225 100644 (file)
@@ -37,7 +37,8 @@ public:
                 std::string const & listName, std::string const & listCmd,
                 std::string const & refPrefix, std::string const & allowedplacement,
                 std::string const & htmlType, std::string const & htmlClass,
-                docstring const & htmlStyle, bool usesfloat, bool isprefined,
+                docstring const & htmlStyle, std::string const & required,
+                bool usesfloat, bool isprefined,
                 bool allowswide, bool allowssideways);
        ///
        std::string const & floattype() const { return floattype_; }
@@ -64,6 +65,8 @@ public:
        std::string const & allowedPlacement() const { return allowedplacement_; }
        ///
        bool usesFloatPkg() const { return usesfloatpkg_; }
+       /// allowed placement options
+       std::string const & required() const { return required_; }
        ///
        bool isPredefined() const { return ispredefined_; }
        ///
@@ -100,6 +103,8 @@ private:
        ///
        std::string allowedplacement_;
        ///
+       std::string required_;
+       ///
        bool usesfloatpkg_;
        ///
        bool ispredefined_;