summaryrefslogtreecommitdiff
path: root/menuitems.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-08-11 13:32:23 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2002-08-11 13:32:23 +0200
commit9a1a16f3d42b2f48b26eb3daef3a195fc0f2a13e (patch)
tree7d7d8667832651e37cd8de53296d0bcd32dba085 /menuitems.h
parentb9c4cb0ec9c417c483be2a40cd66f839b063015f (diff)
downloadvdr-9a1a16f3d42b2f48b26eb3daef3a195fc0f2a13e.tar.gz
vdr-9a1a16f3d42b2f48b26eb3daef3a195fc0f2a13e.tar.bz2
Consistently using malloc/free and new/delete
Diffstat (limited to 'menuitems.h')
-rw-r--r--menuitems.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/menuitems.h b/menuitems.h
index ef25d0de..7470581a 100644
--- a/menuitems.h
+++ b/menuitems.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: menuitems.h 1.2 2002/05/11 10:48:28 kls Exp $
+ * $Id: menuitems.h 1.3 2002/08/11 11:40:05 kls Exp $
*/
#ifndef __MENUITEMS_H
@@ -14,8 +14,8 @@
class cMenuEditItem : public cOsdItem {
private:
- const char *name;
- const char *value;
+ char *name;
+ char *value;
public:
cMenuEditItem(const char *Name);
~cMenuEditItem();
@@ -43,7 +43,7 @@ public:
class cMenuEditChrItem : public cMenuEditItem {
private:
char *value;
- const char *allowed;
+ char *allowed;
const char *current;
virtual void Set(void);
public:
@@ -56,7 +56,7 @@ class cMenuEditStrItem : public cMenuEditItem {
private:
char *value;
int length;
- const char *allowed;
+ char *allowed;
int pos;
bool insert, newchar, uppercase;
void SetHelpKeys(void);