* \author Lars Gullik Bjønnes
* \author Matthias Ettrich
*
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
*/
#ifndef UPDATABLEINSET_H
#include "inset.h"
+#include "support/types.h"
+
/** Extracted from Matthias notes:
*
*/
class UpdatableInset : public InsetOld {
public:
- ///
- UpdatableInset();
- ///
- UpdatableInset(UpdatableInset const & in);
-
/// check if the font of the char we want inserting is correct
/// and modify it if it is not.
virtual bool checkInsertChar(LyXFont &) { return true; }
bool /*lr*/ = false)
{ return false; }
/// An updatable inset could handle lyx editing commands
- virtual RESULT localDispatch(FuncRequest const & cmd);
+ virtual dispatch_result localDispatch(FuncRequest const & cmd);
// We need this method to not clobber the real method in Inset
int scroll(bool recursive = true) const
{ return InsetOld::scroll(recursive); }
///
// needed for search/replace functionality
///
- virtual bool searchForward(BufferView *, string const &,
+ virtual bool searchForward(BufferView *, std::string const &,
bool = true, bool = false);
///
- virtual bool searchBackward(BufferView *, string const &,
+ virtual bool searchBackward(BufferView *, std::string const &,
bool = true, bool = false);
protected: