summaryrefslogtreecommitdiff
path: root/weatherosd.h
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2016-01-26 18:38:37 +0100
committerlouis <louis.braun@gmx.de>2016-01-26 18:38:37 +0100
commit842b086b65a7116a7aa5a2142097a2b2220f4c3c (patch)
treecf5655fc2c23a6a87fe4a4e6ba06b3fbc69cd1d0 /weatherosd.h
parent36f7ac94dc3c6a6801b98d285a41851a0c61adf9 (diff)
downloadvdr-plugin-weatherforecast-master.tar.gz
vdr-plugin-weatherforecast-master.tar.bz2
adaptions skindesigner 0.8.0HEAD0.2.0master
Diffstat (limited to 'weatherosd.h')
-rw-r--r--weatherosd.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/weatherosd.h b/weatherosd.h
index 724ace7..58f12d5 100644
--- a/weatherosd.h
+++ b/weatherosd.h
@@ -6,13 +6,7 @@
#include <libskindesignerapi/skindesignerapi.h>
#include <libskindesignerapi/skindesignerosdbase.h>
#include "libforecastio/forecastio.h"
-
-enum eMenus {
- meRoot,
- meDetailCurrent,
- meDetailHourly,
- meDetailDaily
-};
+#include "definitions.h"
class cWeatherOsd : public skindesignerapi::cSkindesignerOsdMenu {
private:
@@ -24,9 +18,10 @@ private:
void SetDetailViewHourly(void);
void SetDetailViewDaily(void);
public:
- cWeatherOsd(cForecastIO *forecastIO);
+ cWeatherOsd(cForecastIO *forecastIO, skindesignerapi::cPluginStructure *plugStruct);
virtual ~cWeatherOsd();
virtual eOSState ProcessKey(eKeys key);
+ static void DefineTokens(eMenus menu, skindesignerapi::cTokenContainer *tk);
};
#endif //__WEATHEROSD_H \ No newline at end of file