summaryrefslogtreecommitdiff
path: root/libforecastio/locator.h
blob: b29637efbd5f8039f3548b8dac94930507953d97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef __FORECASTLOCATOR_H
#define __FORECASTLOCATOR_H

#include <string>

using namespace std;

class cForecastLocator {
private:
    string urlIPLApi;
    string city;
    float lat;
    float lon;
public:
    cForecastLocator(void);
    virtual ~cForecastLocator(void);
    bool ReadLocationByIP(void);
    void WriteToSetup(cPlugin *weatherPlug);
};


#endif //__FORECASTLOCATOR_H