From f1f77182823b76d99ff879dc2a5e2a1cf661e891 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Fri, 30 Nov 2007 09:49:35 +0000 Subject: [PATCH] Add FIXMEs git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21876 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/Buffer.h | 3 +++ src/support/FileMonitor.h | 2 ++ 2 files changed, 5 insertions(+) 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);