public:
///
InsetERT(Buffer const &, CollapseStatus status = Open);
-#if 0
- ///
- InsetERT(BufferParams const &,
- Language const *, std::string const & contents, CollapseStatus status);
-#endif
///
~InsetERT();
+private:
///
InsetCode lyxCode() const { return ERT_CODE; }
///
///
bool showInsetDialog(BufferView *) const;
///
- virtual bool forceEmptyLayout() const { return true; }
+ virtual bool forceEmptyLayout(idx_type = 0) const { return true; }
///
- virtual bool allowParagraphCustomization(idx_type) const { return false; }
+ virtual bool allowParagraphCustomization(idx_type = 0) const { return false; }
/// should paragraph indendation be omitted in any case?
bool neverIndent() const { return true; }
-protected:
- InsetERT(InsetERT const &);
///
- virtual void doDispatch(Cursor & cur, FuncRequest & cmd);
+ void doDispatch(Cursor & cur, FuncRequest & cmd);
///
bool getStatus(Cursor & cur, FuncRequest const & cmd, FuncStatus &) const;
-
-private:
- virtual Inset * clone() const;
+ ///
+ Inset * clone() const { return new InsetERT(*this); }
///
void setButtonLabel();
///