From 9e17ddffae4fcbbcd9d2ff477ee7562439970107 Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Tue, 26 May 2015 14:41:29 +0200 Subject: [PATCH] Confirm feature: document the white/black/unconfirmed lists --- src/libsync/syncjournaldb.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/libsync/syncjournaldb.h b/src/libsync/syncjournaldb.h index b1b2d071e3..5dce557004 100644 --- a/src/libsync/syncjournaldb.h +++ b/src/libsync/syncjournaldb.h @@ -92,8 +92,16 @@ public: QVector getPollInfos(); enum SelectiveSyncListType { + /** The black list is the list of folders that are unselected in the selective sync dialog. + * For the sync engine, those folders are considered as if they were not there, so the local + * folders will be deleted */ SelectiveSyncBlackList = 1, + /** When a shared flder has a size bigger than a configured size, it is by default not sync'ed + * Unless it is in the white list, in which case the folder is sync'ed and all its children. + * If a folder is both on the black and the white list, the black list wins */ SelectiveSyncWhiteList = 2, + /** List of big sync folder that have not been confirmed by the user yet and that the UI + * should notify about */ SelectiveSyncUndecidedList = 3 }; /* return the specified list from the database */