3 * See the file COPYING.
4 * \author Angus Leeming
6 * Full author contact details are available in file CREDITS
8 * Common to all frontends' Dialogs
14 #pragma implementation
19 // Note that static boost signals break some compilers, so this wrapper
20 // initialises the signal dynamically when it is first invoked.
21 template<typename Signal>
24 Signal & operator()() { return thesignal(); }
25 Signal const & operator()() const { return thesignal(); }
28 Signal & thesignal() const
31 signal_.reset(new Signal);
35 mutable boost::scoped_ptr<Signal> signal_;
39 boost::signal0<void> & Dialogs::redrawGUI()
41 static BugfixSignal<boost::signal0<void> > thesignal;