Commit e2dd189b authored by Claes Sjofors's avatar Claes Sjofors

New functions to create and delete menu items

parent 170f695f
...@@ -43,6 +43,12 @@ typedef enum { ...@@ -43,6 +43,12 @@ typedef enum {
wow_eModalDialogReturn_Deleted wow_eModalDialogReturn_Deleted
} wow_eMotalDialogReturn; } wow_eMotalDialogReturn;
typedef enum {
wow_ePixmap_No,
wow_ePixmap_Graph,
wow_ePixmap__
} wow_ePixmap;
class CoWowWidget { class CoWowWidget {
}; };
...@@ -94,6 +100,9 @@ class CoWow { ...@@ -94,6 +100,9 @@ class CoWow {
virtual int DisplayWarranty() { return 0;} virtual int DisplayWarranty() { return 0;}
virtual void DisplayLicense() {} virtual void DisplayLicense() {}
virtual CoWowTimer *timer_new() { return 0;} virtual CoWowTimer *timer_new() { return 0;}
virtual pwr_tStatus CreateMenuItem( const char *name, void *menu, int pixmap, int append, void *w) { return 0;}
virtual pwr_tStatus DeleteMenuItem( const char *name, void *menu) { return 0;}
}; };
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment