diff options
author | Dimitar Petrovski <dimeptr@gmail.com> | 2011-09-22 18:38:52 +0200 |
---|---|---|
committer | Dimitar Petrovski <dimeptr@gmail.com> | 2011-09-22 18:38:52 +0200 |
commit | 3c9b4d23704e9460e7c3a0d5baa2c9d32feee116 (patch) | |
tree | 02de0fff5041e454dc709510d81109cf686a0f75 | |
parent | 35d5843a396a5b3144e3abc2571e150c514801e4 (diff) | |
download | vdr-plugin-eepg-3c9b4d23704e9460e7c3a0d5baa2c9d32feee116.tar.gz vdr-plugin-eepg-3c9b4d23704e9460e7c3a0d5baa2c9d32feee116.tar.bz2 |
fix compile
-rw-r--r-- | dish.c | 7 | ||||
-rw-r--r-- | dish.h | 8 |
2 files changed, 10 insertions, 5 deletions
@@ -12,9 +12,10 @@ #include "dish.h" #include <libsi/si.h> -#include <libsi/descriptor.h> +//#include <libsi/descriptor.h> #include <string.h> #include <stdlib.h> +#include <vdr/tools.h> namespace SI { @@ -306,8 +307,8 @@ namespace SI const char *DishDescriptor::getDescription(void) { string tmp = ""; if (description != NULL) tmp += *description; - char* rating = getRating(); - if (rating && rating != "") { + const char* rating = getRating(); + if (rating && strcmp(rating,"") != 0) { if(tmp != "") tmp += "|"; tmp += rating; } @@ -10,6 +10,10 @@ #ifndef LIBSI_DISH_H #define LIBSI_DISH_H +#include <string> +#include <libsi/util.h> +#include <libsi/descriptor.h> + namespace SI { @@ -267,8 +271,8 @@ protected: string *shortText; // usually the episode name string *description; // description of the event unsigned char *decompressed; - uchar DishTheme; - uchar DishCategory; + unsigned char DishTheme; + unsigned char DishCategory; uint16_t mpaaRating; uint16_t starRating; |