diff --git a/src/Buffer.h b/src/Buffer.h index 9b8b8e22a1..91ccd683db 100644 --- a/src/Buffer.h +++ b/src/Buffer.h @@ -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 diff --git a/src/support/FileMonitor.h b/src/support/FileMonitor.h index 5b04b6c8ff..3f0b91785b 100644 --- a/src/support/FileMonitor.h +++ b/src/support/FileMonitor.h @@ -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);