]> git.lyx.org Git - lyx.git/blobdiff - src/insets/inseterror.h
add warning make controllers compile and remove some alomost unused functions, commen...
[lyx.git] / src / insets / inseterror.h
index b148d35a733ed5f39b1cc05dd8bd48a498748e3b..06525a0356c996589b2ece020c9e10e1037f98de 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,15 +26,13 @@ public:
        explicit
        InsetError(string const &, bool same_id = false);
        ///
-       ~InsetError() { hideDialog(); }
-       ///
-       int ascent(BufferView *, LyXFont const &) const;
+       ~InsetError();
        ///
-       int descent(BufferView *, LyXFont const &) const;
+       virtual dispatch_result localDispatch(FuncRequest const & cmd);
        ///
-       int width(BufferView *, LyXFont const &) const;
+       void dimension(BufferView *, LyXFont const &, Dimension &) 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 {}
        ///
@@ -58,10 +50,6 @@ public:
        /// what appears in the minibuffer when opening
        string const editMessage() const;
        ///
-       void edit(BufferView *, int, int, mouse_button::state);
-       ///
-       void edit(BufferView * bv, bool front = true);
-       ///
        EDITABLE editable() const { return IS_EDITABLE; }
        ///
        Inset * clone(Buffer const &, bool same_id = false) const {
@@ -73,8 +61,6 @@ public:
        bool directWrite() const { return true; };
        ///
        string const & getContents() const { return contents; }
-       ///
-       boost::signal0<void> hideDialog;
 private:
        ///
        string contents;