#ifndef TOOLTIPS_H
#define TOOLTIPS_H
-#include <boost/signals/signal0.hpp>
+#include <boost/signal.hpp>
#include <boost/signals/trackable.hpp>
#include "forms_fwd.h" // Can't forward-declare FL_OBJECT
#include <map>
+namespace lyx {
+namespace frontend {
class Tooltips : boost::noncopyable, public boost::signals::trackable {
public:
/** Once enabled_ is changed, then this signal is emitted to update
* all the tooltips.
*/
- static boost::signal0<void> toggled;
+ static boost::signal<void()> toggled;
/// The tooltips are stored so that they can be turned on and off.
typedef std::map<FL_OBJECT *, std::string> TooltipsMap;
TooltipsMap tooltipsMap;
};
+} // namespace frontend
+} // namespace lyx
+
#endif // TOOLTIPS_H