#include "insetcollapsable.h"
-struct InsetNoteParams {
+class InsetNoteParams {
+public:
enum Type {
Note,
Comment,
///
std::string const editMessage() const;
///
- InsetOld::Code lyxCode() const { return InsetOld::NOTE_CODE; }
+ InsetBase::Code lyxCode() const { return InsetBase::NOTE_CODE; }
///
void write(Buffer const &, std::ostream &) const;
///
void validate(LaTeXFeatures &) const;
///
InsetNoteParams const & params() const { return params_; }
+ ///
+ bool getStatus(LCursor &, FuncRequest const &, FuncStatus &) const;
protected:
InsetNote(InsetNote const &);
///
- virtual void priv_dispatch(LCursor & cur, FuncRequest & cmd);
+ virtual void doDispatch(LCursor & cur, FuncRequest & cmd);
private:
friend class InsetNoteParams;