]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/formulabase.h
split inset -> inset + updatableinset
[lyx.git] / src / mathed / formulabase.h
index 49d48a4bcdb0d94ece4b5cc961825d79c8509722..9c53c47c57bb8aabd727eee9afadb9c512a620e3 100644 (file)
@@ -14,7 +14,7 @@
 #define INSET_FORMULABASE_H
 
 
-#include "insets/inset.h"
+#include "insets/updatableinset.h"
 #include "frontends/mouse_state.h"
 #include "lyxfont.h"
 
@@ -76,7 +76,7 @@ public:
        virtual void insetUnlock(BufferView *);
 
        /// To allow transparent use of math editing functions
-       virtual RESULT localDispatch(FuncRequest const &);
+       virtual dispatch_result localDispatch(FuncRequest const &);
        /// To allow transparent use of math editing functions
        //virtual void status(FuncRequest const &);
 
@@ -116,11 +116,11 @@ private:
        /// common base for handling accents
        void handleAccent(BufferView * bv, string const & arg, string const & name);
        /// lfun handler
-       RESULT lfunMousePress(FuncRequest const &);
+       dispatch_result lfunMousePress(FuncRequest const &);
        ///
-       RESULT lfunMouseRelease(FuncRequest const &);
+       dispatch_result lfunMouseRelease(FuncRequest const &);
        ///
-       RESULT lfunMouseMotion(FuncRequest const &);
+       dispatch_result lfunMouseMotion(FuncRequest const &);
 
 protected:
        ///