summaryrefslogtreecommitdiff
path: root/weatherosd.h
diff options
context:
space:
mode:
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