5
#include <QNetworkReply>
6
#include <unity/storage/provider/ProviderBase.h>
11
class RetrieveMetadataHandler;
13
class CreateFolderHandler : public QObject {
16
CreateFolderHandler(DavProvider const& provider,
17
std::string const& parent_id, std::string const& name,
18
unity::storage::provider::Context const& ctx);
19
~CreateFolderHandler();
21
boost::future<unity::storage::provider::Item> get_future();
27
boost::promise<unity::storage::provider::Item> promise_;
29
DavProvider const& provider_;
30
std::string const item_id_;
31
unity::storage::provider::Context const context_;
33
std::unique_ptr<QNetworkReply> mkcol_;
34
std::unique_ptr<RetrieveMetadataHandler> metadata_;