]> git.lyx.org Git - lyx.git/blobdiff - src/support/FileMonitor.h
remove reference to LaTeXStream
[lyx.git] / src / support / FileMonitor.h
index ba84bb549e26d4918040f4df67e37699333f5c9c..9523bf1e7d5a158cff52c73c79aaf4c6832b2432 100644 (file)
 namespace lyx {
 namespace support {
 
+class FileName;
+
 class FileMonitor : boost::noncopyable {
 public:
        /** Once monitoring begins, the file will be monitored every
         *  interval ms.
         */
-       FileMonitor(std::string const & file_with_path, int interval);
+       FileMonitor(FileName const & file_with_path, int interval);
 
        /// Define an empty d-tor out-of-line to keep boost::scoped_ptr happy.
        ~FileMonitor();
 
        ///
-       void reset(std::string const & file_with_path) const;
+       void reset(FileName const & file_with_path) const;
 
        ///
-       std::string const & filename() const;
+       FileName const & filename() const;
 
        /// Begin monitoring the file
        void start() const;