summaryrefslogtreecommitdiff
path: root/menu-item.h
diff options
context:
space:
mode:
authoranbr <vdr07@deltab.de>2012-06-04 16:42:12 +0200
committeranbr <vdr07@deltab.de>2012-06-04 16:42:12 +0200
commita6193931be12663aa381e5a7d0b14613e613ddd8 (patch)
tree6fd807aa872fde9e8528fa6edbbb34153a95fe5b /menu-item.h
parentb8b00fd3d3a9f6454fc8a299e765dc7e2bcad47b (diff)
downloadvdr-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.h4
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