/* Copyright (C) 2015 EngSaS - Engineering Solutions and Services Langenbach. All rights reserved. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SIWEATHERSTATION_H #define SIWEATHERSTATION_H #include #include #include #include namespace SiWeather { namespace Library { class SI_LIB_EXPORT SiWeatherStation { public: SiWeatherStation(); SiWeatherStation(const QString &uuid, const QString &name); void setUuid(const QString &uuid); QUuid uuid() const; void setName(const QString &name); QString name() const; void setCity(const QString &city); QString city() const; void setLongitude(double longitude); double longitude() const; void setLatitude(double latitude); double latitude() const; void setType(const QString &type); QString type() const; void setTypeUrl(const QString &typeUrl); QUrl typeUrl() const; void setEMail(const QString &address); QString eMail() const; private: void init(); QUuid _uuid; QString _name, _city; QString _type, _eMail; double _longitude, _latitude; QUrl _typeUrl; }; }; }; #endif // SIWEATHERSTATION_H