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

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaas Freitag <freitag@owncloud.com>2015-11-16 17:04:59 +0300
committerKlaas Freitag <freitag@owncloud.com>2015-11-16 17:04:59 +0300
commitcaba719950afb7fee5662cd17a2074bd35b8cc24 (patch)
tree81c02f61202470f84f19b63720c7ba6975ba78f1 /src/gui/folderman.h
parentddcec2971e18128f2999e320a8abc6edea1442fc (diff)
Folderman: Added method to find local files for a rel. server path.
Diffstat (limited to 'src/gui/folderman.h')
-rw-r--r--src/gui/folderman.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/folderman.h b/src/gui/folderman.h
index 0dd052262..888cd3954 100644
--- a/src/gui/folderman.h
+++ b/src/gui/folderman.h
@@ -57,6 +57,13 @@ public:
/** Returns the folder which the file or directory stored in path is in */
Folder* folderForPath(const QString& path);
+ /**
+ * returns a list of local files that exist on the local harddisk for an
+ * incoming relative server path. The method checks with all existing sync
+ * folders.
+ */
+ QStringList findFileInLocalFolders( const QString& relPath );
+
/** Returns the folder by alias or NULL if no folder with the alias exists. */
Folder *folder( const QString& );