]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Dialogs.h
get rid of broken_header.h and some unneeded tests
[lyx.git] / src / frontends / Dialogs.h
index 71135cf480febd7ee615e59abb2bb9acf8f19da4..22ab1784d6abde2f3954bb2933437a0cc0ad69f2 100644 (file)
 #ifndef DIALOGS_H
 #define DIALOGS_H
 
+#include <boost/signal.hpp>
 #include <boost/utility.hpp>
-#include <boost/signals/signal0.hpp>
+
+#include <map>
 
 class InsetBase;
 class LyXView;
@@ -27,8 +29,7 @@ class Dialog;
 
 /** Container of all dialogs.
  */
-class Dialogs : boost::noncopyable
-{
+class Dialogs : boost::noncopyable {
 public:
        ///
        Dialogs(LyXView &);
@@ -39,7 +40,7 @@ public:
         *  Note that static boost signals break some compilers, so we return a
         *  reference to some hidden magic ;-)
         */
-       static boost::signal0<void> & redrawGUI();
+       static boost::signal<void()> & redrawGUI();
 
        /// Toggle tooltips on/off in all dialogs.
        static void toggleTooltips();