///
~InsetExternal();
///
+ void setBuffer(Buffer & buffer);
+ ///
InsetCode lyxCode() const { return EXTERNAL_CODE; }
///
EDITABLE editable() const { return IS_EDITABLE; }
///
bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
/// external file can be embedded
- void registerEmbeddedFiles(Buffer const &, EmbeddedFileList &) const;
+ void registerEmbeddedFiles(EmbeddedFileList &) const;
///
- void updateEmbeddedFile(Buffer const &, EmbeddedFile const &);
+ void updateEmbeddedFile(EmbeddedFile const &);
protected:
InsetExternal(InsetExternal const &);
///
void doDispatch(Cursor & cur, FuncRequest & cmd);
private:
- Inset * clone() const;
+ ///
+ Inset * clone() const { return new InsetExternal(*this); }
/** This method is connected to the graphics loader, so we are
* informed when the image has been loaded.