]> git.lyx.org Git - lyx.git/blobdiff - src/insets/lyxinset.h
updates to minipage inset
[lyx.git] / src / insets / lyxinset.h
index da544af9be8ef8a69550b5836c5b1829ccce3b2c..a4804875bb00b7f5e70fe03bd6723a241d31b278 100644 (file)
@@ -22,6 +22,7 @@
 #include "gettext.h"
 #include "lyxfont.h"
 #include "lyxlex.h"
+#include "commandtags.h"
 
 class BufferView;
 class Buffer;
@@ -105,7 +106,11 @@ public:
                ///
                CAPTION_CODE,
                ///
-               MATHMACRO_CODE
+               MATHMACRO_CODE,
+               ///
+               ERROR_CODE,
+               ///
+               CITE_CODE
        };
 
        ///
@@ -223,7 +228,7 @@ public:
        // because we could have fake text insets and have to call this
        // inside them without cast!!!
        ///
-       virtual LyXText * getLyXText(BufferView *) const;
+       virtual LyXText * getLyXText(BufferView const *, bool const recursive=false) const;
        ///
        virtual void deleteLyXText(BufferView *, bool = true) const {}
        ///
@@ -352,7 +357,7 @@ public:
                                        bool /*lr*/ = false)
                { return false; }
        ///  An updatable inset could handle lyx editing commands
-       virtual RESULT LocalDispatch(BufferView *, int, string const &);
+       virtual RESULT LocalDispatch(BufferView *, kb_action, string const &);
        ///
        virtual bool isCursorVisible() const { return cursor_visible; }
        ///