Results 1 to 15 of 15

Thread: C++11/Qt & Dropbox v2 API in dropboxQt

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: C++11/Qt & Dropbox v2 API in dropboxQt

    Nice, like a future's "value" getter.

    Cheers,
    _

  2. #2
    Join Date
    Nov 2016
    Posts
    8
    Thanked 1 Time in 1 Post
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: C++11/Qt & Dropbox v2 API in dropboxQt

    There are certainly similarities. DropboxTask essentially can be described as typed representation of Json QNetworkReply data, something:

    (Reply -> Json) -> (t, e)

    where 't' is result type and 'e' is exception type, DropboxException derived.

    On other note, we started something similar to dropboxQt for a subset of Google API - gdrive, gmail, gtask.

    https://github.com/osoftteam/googleQt

    Now we can compare both APIs. Dropbox at the low level (the endpoint of all routes) consists of 3 functions while Google of 1 function. It is possible to build Dropbox API on top of 1 function as well (dropbox API is even more consistent) but it was never objective. We found fascinating that all wrapper classes can be generated out of some declarative language (STONE), in case of Dropbox all Arguments, Results and Routes are generated, in case of Google Arguments are manually written and the rest generated.

    2 anda_skoa - thank for your suggestions, it really helped to shape up the async stuff.

Similar Threads

  1. QWebview not logging in to Dropbox
    By marjun in forum Qt Programming
    Replies: 0
    Last Post: 13th February 2012, 09:04
  2. Dropbox-like file status effect
    By produktdotestow in forum General Programming
    Replies: 3
    Last Post: 15th March 2011, 17:10

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.