diff options
author | Dimitar Petrovski <dimeptr@gmail.com> | 2011-10-02 17:54:14 +0200 |
---|---|---|
committer | Dimitar Petrovski <dimeptr@gmail.com> | 2011-10-02 17:54:14 +0200 |
commit | e228e74a720c8f0b7e48c0909a2a29ddc7620252 (patch) | |
tree | 9dd65b7608b53cf1ec5754d12e91cfaa74f4fe20 /dish.h | |
parent | d826a6882e10a69336aa6c751e6822eada604100 (diff) | |
download | vdr-plugin-eepg-e228e74a720c8f0b7e48c0909a2a29ddc7620252.tar.gz vdr-plugin-eepg-e228e74a720c8f0b7e48c0909a2a29ddc7620252.tar.bz2 |
do not use member pointers
Diffstat (limited to 'dish.h')
-rw-r--r-- | dish.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -249,7 +249,7 @@ class DishDescriptor { public: DishDescriptor(); virtual ~DishDescriptor(); - const char* getName(void) const { return name?name->c_str():""; } + const char* getName(void) const { return name.c_str(); } const char* getShortText(void); const char *getDescription(void); // const char* getShortText(void) const { return shortText?shortText->c_str():""; } @@ -267,9 +267,9 @@ public: protected: // Decompress the byte array and stores the result to a text string void Decompress(unsigned char Tid, CharArray data); - string *name; // name of the event - string *shortText; // usually the episode name - string *description; // description of the event + string name; // name of the event + string shortText; // usually the episode name + string description; // description of the event unsigned char *decompressed; unsigned char DishTheme; unsigned char DishCategory; |