[Merge] lp:~ken-vandine/content-hub/pasteboard into lp:content-hub

Daniel d'Andrada daniel.dandrada at canonical.com
Tue Jul 19 12:51:27 UTC 2016


Review: Needs Information

"""
    Q_INVOKABLE virtual const QMimeData* latest_paste_buf();
"""

That usually involves a round-trip through the D-Bus session + deserialization of the QMimeData, right?

So if I (the client) wanna get it asynchronously to avoid blocking my current thread (essentially because of the IPC involved), should I call this method from a separate worker thread? Or would it be simple for you to expose an async version of this on the client API?
-- 
https://code.launchpad.net/~ken-vandine/content-hub/pasteboard/+merge/296352
Your team Ubuntu Phablet Team is subscribed to branch lp:content-hub.



More information about the Ubuntu-reviews mailing list