Ignore:
Timestamp:
Sep 17, 2015, 9:11:21 PM (11 years ago)
Author:
Joachim Langenbach <joachim.langenbach@…>
Branches:
master
Children:
a2330fc
Parents:
e498070
Message:
  • Working c++ library webserviceclient class, which allows to register a station
    • Added tests for the webserviceclient class
    • Improved build system
    • Fixed some errors in Webservice Location.php and WebserviceApi.php
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/lib/siwebserviceclient.h

    re498070 r915dc18  
    4848                                 * @brief Registers a station at the server and emits error() or finishedStationsRegister() if finished.
    4949                                 */
    50                                 ReplyType stationsRegister(SiWeatherStation station, QString &error);
     50                                ReplyType stationsRegister(const SiWeather::Library::SiWeatherStation& station, QString& error);
    5151
    5252                        signals:
    53                                 void error(ReplyType replyType, const QString &errorMessage) const;
     53                                void error(SiWeather::Library::SiWebserviceClient::ReplyType replyType, const QString &errorMessage) const;
    5454                                /**
    5555                                 * @brief Generic finish signal for all requests. Use specialized finished signals instead!
    … …  
    5757                                 * @see finishedStationsRegister
    5858                                 */
    59                                 void finished(ReplyType replyType, const QByteArray &data) const;
     59                                void finished(SiWeather::Library::SiWebserviceClient::ReplyType replyType, bool result, const QByteArray &data) const;
    6060                                void finishedStationsRegister(bool result, const QUuid &uuid, const QString &message) const;
    6161                               
Note: See TracChangeset for help on using the changeset viewer.