diff options
author | Christian Kamm <mail@ckamm.de> | 2019-05-02 16:26:02 +0300 |
---|---|---|
committer | Christian Kamm <mail@ckamm.de> | 2019-06-07 10:26:33 +0300 |
commit | 2c0a379f3acfcc5dad70683c81d22d2a13f148e0 (patch) | |
tree | ffdaf10382bfdd76c1ba45b83e568ba1222544bd /src/gui/folderman.h | |
parent | a6f93919abde390c997df79af98fec14ff9a9813 (diff) |
Minimal libcloudproviders support #7209
- Add it as an optional dependency for linux builds,
controlled by WITH_LIBCLOUDPROVIDERS, which is enabled automatically
if the dependencies are available. Note that >=0.3.0 is required.
- Add code to export sync folders through the library and to add a
minimal "Settings..." menu action.
- Set up cloud provider registration by installing a file into a
path like /usr/share/cloud-providers/.
- DBus name and path are derived from APPLICATION_REV_DOMAIN by default
and may be overridden with APPLICATION_CLOUDPROVIDERS_DBUS_NAME and
APPLICATION_CLOUDPROVIDERS_DBUS_PATH if necessary.
Diffstat (limited to 'src/gui/folderman.h')
-rw-r--r-- | src/gui/folderman.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/folderman.h b/src/gui/folderman.h index 81c14c966..a83c1a26b 100644 --- a/src/gui/folderman.h +++ b/src/gui/folderman.h @@ -87,7 +87,8 @@ public: */ static void backwardMigrationSettingsKeys(QStringList *deleteKeys, QStringList *ignoreKeys); - OCC::Folder::Map map(); + OCC::Folder::Map map() const; + QList<Folder *> list() const; /** Adds a folder for an account, ensures the journal is gone and saves it in the settings. */ |