aboutsummaryrefslogtreecommitdiffstats
path: root/src/cloudmessaging/qcloudmessagingprovider.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Return error status to inform the user when client registration failsRyan Chu2018-06-151-8/+2
| | | | | | | | | | | | | | When connecting a client id to the Kaltiot-service provider fails, the error status of Kaltiot SDK should be returned to the user application. So I rework some functions and return the error status from the Kaltiot library to the user application. To prevent memory leak, the new client instance should be saved when connecting the client to a provider, and then released when removing the client. Change-Id: I1e6248882a400cfcca78af5f1151cc61b6c954ed Reviewed-by: Ryan Chu <ryan.chu@qt.io> Reviewed-by: Ari Salmi <snowgrains@snowgrains.com> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
* Initial importAri Salmi2017-11-301-0/+543
Change-Id: I6a868ab4b9f418114e52f57c5b9db2b54f350a4f Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>