]> git.lyx.org Git - lyx.git/blobdiff - src/insets/inseterror.h
The markDirty() and fitCursor() changes
[lyx.git] / src / insets / inseterror.h
index b148d35a733ed5f39b1cc05dd8bd48a498748e3b..84581860955f03726e4d10a721f85c014e59e322 100644 (file)
 #ifndef INSET_ERROR_H
 #define INSET_ERROR_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
 #include "inset.h"
 #include "LString.h"
 
-#include <boost/signals/signal0.hpp>
-
 /** Used for error messages from LaTeX runs.
 
   The edit-operation opens a
@@ -32,7 +27,9 @@ public:
        explicit
        InsetError(string const &, bool same_id = false);
        ///
-       ~InsetError() { hideDialog(); }
+       ~InsetError();
+       ///
+       virtual dispatch_result localDispatch(FuncRequest const & cmd);
        ///
        int ascent(BufferView *, LyXFont const &) const;
        ///
@@ -40,7 +37,7 @@ public:
        ///
        int width(BufferView *, LyXFont const &) const;
        ///
-       void draw(BufferView *, LyXFont const &, int, float &, bool) const;
+       void draw(BufferView *, LyXFont const &, int, float &) const;
        ///
        void write(Buffer const *, std::ostream &) const {}
        ///
@@ -73,8 +70,6 @@ public:
        bool directWrite() const { return true; };
        ///
        string const & getContents() const { return contents; }
-       ///
-       boost::signal0<void> hideDialog;
 private:
        ///
        string contents;