diff options
author | anbr <vdr07@deltab.de> | 2012-06-04 16:42:12 +0200 |
---|---|---|
committer | anbr <vdr07@deltab.de> | 2012-06-04 16:42:12 +0200 |
commit | a6193931be12663aa381e5a7d0b14613e613ddd8 (patch) | |
tree | 6fd807aa872fde9e8528fa6edbbb34153a95fe5b /menu-item.h | |
parent | b8b00fd3d3a9f6454fc8a299e765dc7e2bcad47b (diff) | |
download | vdr-plugin-dvdswitch-a6193931be12663aa381e5a7d0b14613e613ddd8.tar.gz vdr-plugin-dvdswitch-a6193931be12663aa381e5a7d0b14613e613ddd8.tar.bz2 |
Hold current MainMenuItem as constant data
Diffstat (limited to 'menu-item.h')
-rw-r--r-- | menu-item.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/menu-item.h b/menu-item.h index 6522e88..3cc2557 100644 --- a/menu-item.h +++ b/menu-item.h @@ -23,8 +23,8 @@ class cMainMenuItem : public cOsdItem cMainMenuItem(eMainMenuItem itype, cImageList &ImageList, const char *file = NULL); ~cMainMenuItem(void); - eMainMenuItem Type(void) { return iType; }; - char* FileName(void) { return File; }; + eMainMenuItem Type(void) const { return iType; }; + const char* FileName(void) const { return File; }; }; #endif // __MENUITEM_DVDSWITCH_H |