Ignore:
Timestamp:
Sep 22, 2015, 10:01:17 PM (11 years ago)
Author:
Joachim Langenbach <joachim.langenbach@…>
Branches:
master
Children:
17ef75d
Parents:
fb602c6
Message:

Command line client is now (nearly) able to register a station

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/lib/siweatherstation.cpp

    rfb602c6 r93ea008  
    114114}
    115115
     116
     117bool SiWeatherStation::isValidForRegister() const
     118{
     119        if(_name.isEmpty())
     120                return false;
     121        if(_city.isEmpty())
     122                return false;
     123        if(_eMail.isEmpty())
     124                return false;
     125        if(_type.isEmpty())
     126                return false;
     127        return true;
     128}
     129
    116130void SiWeatherStation::init()
    117131{
Note: See TracChangeset for help on using the changeset viewer.