]> git.lyx.org Git - lyx.git/blobdiff - src/insets/lyxinset.h
reformatting and remove using delc
[lyx.git] / src / insets / lyxinset.h
index 9e1136089d9ccec9b974391eb800b2ee68a94342..86321f977cf7f3fcda1cb2e12d679410534130f0 100644 (file)
@@ -22,6 +22,7 @@
 #include "gettext.h"
 #include "lyxfont.h"
 #include "lyxlex.h"
+#include "commandtags.h"
 
 class BufferView;
 class Buffer;
@@ -227,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 *) const;
+       virtual LyXText * getLyXText(BufferView const *, bool const recursive=false) const;
        ///
        virtual void deleteLyXText(BufferView *, bool = true) const {}
        ///
@@ -356,13 +357,15 @@ 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; }
        ///
-       virtual int getMaxWidth(Painter & pain, UpdatableInset const *) const;
+       virtual int getMaxWidth(BufferView * bv, UpdatableInset const *) const;
        ///
        int scroll() const { return scx; }
+       ///
+       virtual bool ShowInsetDialog(BufferView *) const { return false; }
 
 protected:
        ///