summaryrefslogtreecommitdiff
path: root/libforecastio/locator.h
diff options
context:
space:
mode:
Diffstat (limited to 'libforecastio/locator.h')
-rw-r--r--libforecastio/locator.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/libforecastio/locator.h b/libforecastio/locator.h
new file mode 100644
index 0000000..b29637e
--- /dev/null
+++ b/libforecastio/locator.h
@@ -0,0 +1,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 \ No newline at end of file