]> git.lyx.org Git - features.git/commitdiff
Add FIXMEs
authorAbdelrazak Younes <younes@lyx.org>
Fri, 30 Nov 2007 09:49:35 +0000 (09:49 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Fri, 30 Nov 2007 09:49:35 +0000 (09:49 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21876 a592a061-630c-0410-9148-cb99ea01b6c8

src/Buffer.h
src/support/FileMonitor.h

index 9b8b8e22a19ee61815cb15733f46a1b59781f11e..91ccd683dbf4ba1424004f7b7c973723041a1ad1 100644 (file)
@@ -80,6 +80,7 @@ public:
                wrongversion ///< The version of the file does not match ours
        };
 
+
        /// Method to check if a file is externally modified, used by 
        /// isExternallyModified()
        /**
@@ -90,6 +91,8 @@ public:
         * checksum is accurate but slow, which can be a problem when it is 
         * frequently used, or used for a large file on a slow (network) file
         * system.
+        *
+        * FIXME: replace this method with support/FileMonitor.
         */
        enum CheckMethod {
                checksum_method,  ///< Use file checksum
index 5b04b6c8ff8c5767354bb403ec90cc59f89b9b29..3f0b91785b3a56917b946b52344781942551d519 100644 (file)
@@ -27,6 +27,8 @@ class FileMonitor
 public:
        /** Once monitoring begins, the file will be monitored every
         *  interval ms.
+        *
+        * FIXME: rewrite and simplify using an encapsulation of QFileSystemWatcher.
         */
        FileMonitor(FileName const & file_with_path, int interval);