]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Dialogs.C
reverse last change
[lyx.git] / src / frontends / Dialogs.C
index 43b1d155a7bc790edc3f3457b6f6b529420916ed..f81286ac6d8806d8613a2eb8ca4c526564d175cd 100644 (file)
@@ -1,8 +1,10 @@
 /**
- * \file Dialogs.C
- * Copyright 1995-2002 The LyX Team.
- * See the file COPYING.
- * \author Angus Leeming <leeming@lyx.org>
+ * \file frontends/Dialogs.C
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ * \author Angus Leeming
+ *
+ * Full author contact details are available in file CREDITS
  *
  * Common to all frontends' Dialogs
  */
 template<typename Signal>
 class BugfixSignal {
 public:
-        Signal & operator()() { return thesignal(); }
-        Signal const & operator()() const { return thesignal(); }
+       Signal & operator()() { return thesignal(); }
+       Signal const & operator()() const { return thesignal(); }
 
 private:
-        Signal & thesignal() const
-        {
-                if (!signal_.get())
-                        signal_.reset(new Signal);
-                return *signal_;
-        }
-
-        mutable boost::scoped_ptr<Signal> signal_;
+       Signal & thesignal() const
+       {
+               if (!signal_.get())
+                       signal_.reset(new Signal);
+               return *signal_;
+       }
+
+       mutable boost::scoped_ptr<Signal> signal_;
 };
 
 
 boost::signal0<void> & Dialogs::redrawGUI()
 {
-        static BugfixSignal<boost::signal0<void> > thesignal;
-        return thesignal();
+       static BugfixSignal<boost::signal0<void> > thesignal;
+       return thesignal();
 }