11 #include "WeatherManager.h" 25 static std::string ConstructPath(std::string in);
26 void LocalizeOverview(std::string &str);
27 void LocalizeOverviewToken(std::string &str);
28 void LoadLocalizedToken();
29 static int ConvertSpeed(
int speed);
31 void SetFromProperties();
37 static void FormatTemperature(std::string &text,
double temp);
44 bool operator() (
const unsigned char& c1,
const unsigned char& c2)
const {
45 return tolower(c1) < tolower(c2);
48 bool operator()(
const std::string & s1,
const std::string & s2)
const {
49 return std::lexicographical_compare
50 (s1.begin(), s1.end(),
56 std::map<std::string, int, ci_less> m_localizedTokens;
57 typedef std::map<std::string, int, ci_less>::const_iterator ilocalizedTokens;
62 static bool m_imagesOkay;
Definition: WeatherManager.h:39
Base class for jobs that are executed asynchronously.
Definition: Job.h:109
Definition: WeatherJob.h:16
Definition: WeatherJob.h:42
bool DoWork() override
Main workhorse function of CJob instances.
Definition: WeatherJob.cpp:50