]> git.lyx.org Git - lyx.git/blobdiff - src/insets/inseterror.h
static_cast-based key/mouse-state. Kill insetKeyPress.
[lyx.git] / src / insets / inseterror.h
index 71fe69716c1e76500a3e3a3d5b8847eef40c594a..34b1428f803cef6bab0d1c632546de0fa63b512d 100644 (file)
@@ -1,11 +1,11 @@
 // -*- C++ -*-
 /* This file is part of*
- * ====================================================== 
+ * ======================================================
  *
  *           LyX, The Document Processor
- *      
+ *
  *           Copyright 1995 Matthias Ettrich
- *           Copyright 1995-2001 The LyX Team. 
+ *           Copyright 1995-2001 The LyX Team.
  *
  * ====================================================== */
 
@@ -21,9 +21,9 @@
 #include <sigc++/signal_system.h>
 
 /** Used for error messages from LaTeX runs.
-  
-  The edit-operation opens a 
-  dialog with the text of the error-message. The inset is displayed as 
+
+  The edit-operation opens a
+  dialog with the text of the error-message. The inset is displayed as
   "Error" in a box, and automatically deleted. */
 class InsetError : public Inset {
 public:
@@ -51,13 +51,13 @@ public:
        ///
        int linuxdoc(Buffer const *, std::ostream &) const { return 0; }
        ///
-       int docBook(Buffer const *, std::ostream &) const { return 0; }
+       int docbook(Buffer const *, std::ostream &) const { return 0; }
        ///
        bool autoDelete() const { return true; }
        /// what appears in the minibuffer when opening
        string const editMessage() const;
        ///
-       void edit(BufferView *, int, int, unsigned int);
+       void edit(BufferView *, int, int, mouse_button::state);
        ///
        void edit(BufferView * bv, bool front = true);
        ///