X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fstorage.h;h=f912c8b69334c3e248441145f3e1abca50452a85;hp=5a0a6405019c60d36cbfa80421a70451a172b851;hb=79aa3994d78860c0b7a623a46ce44dffff988fd9;hpb=436cb365db846985ef5ce508cb5bf925cd903480 diff --git a/src/core/storage.h b/src/core/storage.h index 5a0a6405..f912c8b6 100644 --- a/src/core/storage.h +++ b/src/core/storage.h @@ -85,13 +85,17 @@ public slots: * \param settings Hostname, port, username, password, ... * \return True if and only if the storage provider was initialized successfully. */ - virtual bool setup(const QVariantMap &settings = QVariantMap()) = 0; + virtual bool setup(const QVariantMap &settings = QVariantMap(), + const QProcessEnvironment &environment = {}, + bool loadFromEnvironment = false) = 0; //! Initialize the storage provider /** \param settings Hostname, port, username, password, ... * \return the State the storage backend is now in (see Storage::State) */ - virtual State init(const QVariantMap &settings = QVariantMap()) = 0; + virtual State init(const QVariantMap &settings = QVariantMap(), + const QProcessEnvironment &environment = {}, + bool loadFromEnvironment = false) = 0; //! Makes temp data persistent /** This Method is periodically called by the Quassel Core to make temporary