]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetBox.h
requires is a keyword in C++2a
[lyx.git] / src / insets / InsetBox.h
index 151d622fcb7b73b87fd86f1561941b15e5b72e71..6dd671c9a4deaad01b8e0c1d7dc685a4b9e03c5f 100644 (file)
@@ -14,7 +14,7 @@
 #ifndef INSETBOX_H
 #define INSETBOX_H
 
-#include "InsetCollapsable.h"
+#include "InsetCollapsible.h"
 #include "Length.h"
 
 
@@ -24,7 +24,7 @@ class InsetBoxParams
 {
 public:
        ///
-       InsetBoxParams(std::string const &);
+       explicit InsetBoxParams(std::string const &);
        ///
        void write(std::ostream & os) const;
        ///
@@ -74,7 +74,7 @@ public:
 ///////////////////////////////////////////////////////////////////////
 
 
-class InsetBox : public InsetCollapsable
+class InsetBox : public InsetCollapsible
 {
 public:
        ///
@@ -123,6 +123,9 @@ public:
        ///
        bool forcePlainLayout(idx_type = 0) const;
        ///
+       bool needsCProtection(bool const maintext = false,
+                             bool const fragile = false) const;
+       ///
        bool neverIndent() const { return true; }
        ///
        bool inheritFont() const { return false; }
@@ -143,7 +146,7 @@ public:
        std::string contextMenuName() const;
        //@}
 
-       /// \name Public functions inherited from InsetCollapsable class
+       /// \name Public functions inherited from InsetCollapsible class
        //@{
        ///
        void setButtonLabel();