summaryrefslogtreecommitdiffstats
path: root/kweather/metar_parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'kweather/metar_parser.h')
-rw-r--r--kweather/metar_parser.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/kweather/metar_parser.h b/kweather/metar_parser.h
index 772fe11..fd202d8 100644
--- a/kweather/metar_parser.h
+++ b/kweather/metar_parser.h
@@ -52,6 +52,11 @@ struct WeatherInfo
TQString qsWindDirection;
TQString reportLocation;
bool stationNeedsMaintenance;
+
+ /* For WeatherIcon */
+ int wiCondition;
+ int wiStrength;
+ bool wiNight;
};
@@ -92,7 +97,7 @@ class MetarParser
void calcCurrentIcon();
void calcWindChill();
bool isNight(const TQString &stationID) const;
- TQString iconName( const TQString &icon ) const;
+ void saveIconData( int condition, bool night, int strength = 0 );
/*
* Reset the internal WeatherInfo struct of the class so that