]> git.lyx.org Git - lyx.git/blobdiff - src/support/FileMonitor.C
Remove executable status info from typeIndicator.
[lyx.git] / src / support / FileMonitor.C
index c96b4e6233dfe8c4f6675b295749d5ef67b8de6c..aa7cc4b31960a7d719fed31aed1a98b1b2aa8907 100644 (file)
@@ -5,21 +5,25 @@
  *
  * \author Angus Leeming
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #include <config.h>
 
-#include "FileMonitor.h"
-
-#include "frontends/Timeout.h"
-
+#include "support/FileMonitor.h"
 #include "support/FileInfo.h"
 #include "support/lyxlib.h"
 
+// FIXME Interface violation
+#include "frontends/Timeout.h"
+
 #include <boost/bind.hpp>
 #include <boost/signals/trackable.hpp>
 
+
+using std::string;
+
+
 namespace lyx {
 namespace support {
 
@@ -38,7 +42,7 @@ struct FileMonitor::Impl : public boost::signals::trackable {
        Timeout timer_;
 
        /// This signal is emitted if the file is modified (has a new checksum).
-       boost::signal0<void> fileChanged_;
+       FileMonitor::FileChangedSig fileChanged_;
 
        /** We use these to ascertain whether a file (once loaded successfully)
         *  has changed.