#ifndef INSET_FORMULABASE_H
#define INSET_FORMULABASE_H
-#ifdef __GNUG__
-#pragma interface
-#endif
-#include "insets/inset.h"
+#include "insets/updatableinset.h"
#include "frontends/mouse_state.h"
#include "lyxfont.h"
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 &);
///
virtual bool searchForward(BufferView *, string const &,
- bool = true, bool = false);
+ bool = true, bool = false);
///
virtual bool searchBackward(BufferView *, string const &,
- bool = true, bool = false);
+ bool = true, bool = false);
///
virtual bool isTextInset() const { return true; }
///
void operator=(const InsetFormulaBase &);
/// common base for handling accents
void handleAccent(BufferView * bv, string const & arg, string const & name);
- /// lfun handler
- RESULT lfunMousePress(FuncRequest const &);
+ /// lfun handler
+ dispatch_result lfunMousePress(FuncRequest const &);
///
- RESULT lfunMouseRelease(FuncRequest const &);
+ dispatch_result lfunMouseRelease(FuncRequest const &);
///
- RESULT lfunMouseMotion(FuncRequest const &);
+ dispatch_result lfunMouseMotion(FuncRequest const &);
protected:
///