- void Write(ostream &);
- /// Parse the command.
- void scanCommand(string const & cmd);
- /// Will not be used when lyxf3
- void Read(LyXLex & lex);
+ explicit
+ InsetCommand(InsetCommandParams const &, bool same_id = false);
+ ///
+ virtual ~InsetCommand() { hideDialog(); }
+ ///
+ void write(Buffer const *, std::ostream & os) const
+ { p_.write(os); }
+ ///
+ virtual void read(Buffer const *, LyXLex & lex)
+ { p_.read(lex); }
+ /// Can remove one InsetBibKey is modified
+ void scanCommand(string const & c) { p_.scanCommand(c); };