Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Kamm <mail@ckamm.de>2018-11-05 14:12:49 +0300
committerckamm <mail@ckamm.de>2018-11-06 12:03:25 +0300
commit2bc1baa5e24ba30e1fea8647214749856d1342e4 (patch)
tree2cc21acec56d6e4539be0fb66b73f77c6f6a9992 /src/gui/lockwatcher.h
parenta9599b4ccc7a20f761e0282560a4fcc1d36bedbf (diff)
Test: Add test for locked file tracking and propagation
Diffstat (limited to 'src/gui/lockwatcher.h')
-rw-r--r--src/gui/lockwatcher.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/lockwatcher.h b/src/gui/lockwatcher.h
index ba2d8f8a7..ae8f2cd01 100644
--- a/src/gui/lockwatcher.h
+++ b/src/gui/lockwatcher.h
@@ -51,6 +51,12 @@ public:
*/
void addFile(const QString &path);
+ /** Adjusts the default interval for checking whether the lock is still present */
+ void setCheckInterval(std::chrono::milliseconds interval);
+
+ /** Whether the path is being watched for lock-changes */
+ bool contains(const QString &path);
+
signals:
/** Emitted when one of the watched files is no longer
* being locked. */