]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetERT.h
requires is a keyword in C++2a
[lyx.git] / src / insets / InsetERT.h
index bfe15126dab662a39683748392f52a8176f3805e..30938e0ee0a06e06ef933085eeca75d4aafb1ca2 100644 (file)
@@ -28,18 +28,12 @@ namespace lyx {
 
 class Language;
 
-namespace support {
-       class TempFile;
-}
-
 class InsetERT : public InsetCollapsible {
 public:
        ///
        InsetERT(Buffer *, CollapseStatus status = Open);
-       ///
-       InsetERT(InsetERT const &);
        ///
-       InsetERT & operator=(InsetERT const &);
+       InsetERT(InsetERT const & old);
        ///
        static CollapseStatus string2params(std::string const &);
        ///
@@ -70,17 +64,13 @@ private:
        ///
        bool getStatus(Cursor & cur, FuncRequest const & cmd, FuncStatus &) const;
        ///
-       bool editable() const;
-       ///
-       bool descendable(BufferView const &) const;
-       ///
        Inset * clone() const { return new InsetERT(*this); }
        ///
        docstring const buttonLabel(BufferView const & bv) const;
        ///
        bool allowSpellCheck() const { return false; }
        ///
-       unique_ptr<support::TempFile> tempfile_;
+       bool insetAllowed(InsetCode code) const { return code == QUOTE_CODE; }
 };