]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetert.h
Make it compile when USE_BOOST_FORMAT is unset
[lyx.git] / src / insets / insetert.h
index 3ab24e0cdc6b1fc23efe479396cd7afc07e378aa..f12e30699e56c757717cbd7cddbd3989be1878ba 100644 (file)
@@ -1,15 +1,14 @@
 // -*- C++ -*-
-/* This file is part of
- * ======================================================
+/**
+ * \file insetert.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- *           LyX, The Document Processor
+ * \author Jürgen Vigna
+ * \author Lars Gullik Bjønnes
  *
- *           Copyright 1998 The LyX Team.
- *
- *======================================================
+ * Full author contact details are available in file CREDITS
  */
-// The pristine updatable inset: Text
-
 
 #ifndef INSETERT_H
 #define INSETERT_H
@@ -76,12 +75,6 @@ public:
        ///
        boost::signal0<void> hideDialog;
        ///
-       void insetButtonPress(BufferView *, int x, int y, mouse_button::state button);
-       ///
-       bool insetButtonRelease(BufferView * bv, int x, int y, mouse_button::state button);
-       ///
-       void insetMotionNotify(BufferView *, int x, int y, mouse_button::state state);
-       ///
        int latex(Buffer const *, std::ostream &, bool fragile,
                  bool free_spc) const;
        ///
@@ -94,7 +87,7 @@ public:
        ///
        void validate(LaTeXFeatures &) const {}
        ///
-       UpdatableInset::RESULT localDispatch(BufferView *, FuncRequest const &);
+       RESULT localDispatch(FuncRequest const &);
        ///
        bool checkInsertChar(LyXFont &);
        ///
@@ -140,6 +133,16 @@ public:
        void update(BufferView *, LyXFont const &, bool =false);
 
 private:
+       ///
+       void lfunMousePress(FuncRequest const &);
+       ///
+       // the bool return is used to see if we opened a dialog so that we can
+       // check this from an outer inset and open the dialog of the outer inset
+       // if that one has one!
+       ///
+       bool lfunMouseRelease(FuncRequest const &);
+       ///
+       void lfunMouseMotion(FuncRequest const &);
        ///
        void init();
        ///