]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetInfo.h
Move isMultiCell() to Cursor, and use it.
[lyx.git] / src / insets / InsetInfo.h
index 9ebe468500a7009ab1c99ed66f0d34c4a0cda77a..0cd256dbdb61daa9416d7064c6e27695f145327a 100644 (file)
@@ -105,6 +105,16 @@ public:
        ///
        void write(std::ostream & os) const;
        ///
+       std::string infoType() const;
+       ///
+       std::string infoName() const { return name_; }
+       ///
+       bool validate(docstring const & argument) const;
+       ///
+       bool showInsetDialog(BufferView * bv) const;
+       ///
+       bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
+       ///
        void doDispatch(Cursor & cur, FuncRequest & cmd);
        ///
        InsetCode lyxCode() const { return INFO_CODE; }
@@ -116,6 +126,8 @@ public:
        bool setMouseHover(bool mouse_hover);
        ///
        docstring toolTip(BufferView const & bv, int x, int y) const;
+       ///
+       docstring contextMenu(BufferView const &, int, int) const;
 
 private:
        /// The translator between the information type enum and corresponding string.
@@ -123,6 +135,10 @@ private:
        ///
        virtual Inset * clone() const { return new InsetInfo(*this); }
        ///
+       void error(std::string const & err);
+       ///
+       void setText(docstring const & str);
+       ///
        info_type type_;
        ///
        std::string name_;