just an update on development - we added async functions as discussed here.
using namespace dropboxQt;
DropboxClient dbox("ACCESS_TOKEN");
files::CreateFolderArg arg("path_to_new_folder");
dbox.getFiles()->createFolder_Async(arg,
[](std::unique_ptr<files::FolderMetadata> res)
{
qDebug() << "folder created, id=" << res->id();
},
[](std::unique_ptr<DropboxException> e)
{
qDebug() << "Exception: " << e->what();
});
and preserved blocking functions with exceptions, now they are implemented as call to async functions with callback processing and call to evenloop exec
Bookmarks