diff options
Diffstat (limited to 'src/gui/lockwatcher.h')
-rw-r--r-- | src/gui/lockwatcher.h | 6 |
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. */ |