diff options
author | Dimitar Petrovski <dimeptr@gmail.com> | 2011-09-14 16:10:56 +0200 |
---|---|---|
committer | Dimitar Petrovski <dimeptr@gmail.com> | 2011-09-14 16:10:56 +0200 |
commit | 9c53646dc79a1447fd3201b37412108d7f94ea28 (patch) | |
tree | 479a683a77bca0f8b49c38920f0cc8c10281278a /dish.h | |
parent | 038d482b3d317e8369c11a693c485517b6646c33 (diff) | |
download | vdr-plugin-eepg-9c53646dc79a1447fd3201b37412108d7f94ea28.tar.gz vdr-plugin-eepg-9c53646dc79a1447fd3201b37412108d7f94ea28.tar.bz2 |
fix compile
Diffstat (limited to 'dish.h')
-rw-r--r-- | dish.h | 60 |
1 files changed, 30 insertions, 30 deletions
@@ -13,36 +13,6 @@ namespace SI { -#define SIZE_TABLE_128 128 -#define SIZE_TABLE_255 255 - -class UnimplementedDescriptor; - -class DishDescriptor { -public: - DishDescriptor(UnimplementedDescriptor*); - virtual ~DishDescriptor(); - const char* getText(void) const { return text; } - - const char* getShortText(void) const { return shortText; } - const char* getTheme(int contentNibleLvl2); - const char* getCategory(int userNible); - // Decompress the byte arrary and stores the result to a text string - void Decompress(unsigned char Tid); -protected: - const char* text; // name or description of the event - const char* shortText; // usually the episode name - unsigned char* decompressed; - UnimplementedDescriptor* unimplementedDesc; - - struct HuffmanTable { - unsigned int startingAddress; - unsigned char character; - unsigned char numberOfBits; - }; - static HuffmanTable Table128[SIZE_TABLE_128]; - static HuffmanTable Table255[SIZE_TABLE_255]; - namespace DISH_THEMES { enum eDishThemes { Movie = 0x01, @@ -266,6 +236,36 @@ protected: DishNetwork = 0xff }; }; +#define SIZE_TABLE_128 128 +#define SIZE_TABLE_255 255 + +class UnimplementedDescriptor; + +class DishDescriptor { +public: + DishDescriptor(UnimplementedDescriptor*); + virtual ~DishDescriptor(); + const char* getText(void) const { return text; } + + const char* getShortText(void) const { return shortText; } + const char* getTheme(int contentNibleLvl2); + const char* getCategory(int userNible); + // Decompress the byte arrary and stores the result to a text string + void Decompress(unsigned char Tid); +protected: + const char* text; // name or description of the event + const char* shortText; // usually the episode name + unsigned char* decompressed; + UnimplementedDescriptor* unimplementedDesc; + + struct HuffmanTable { + unsigned int startingAddress; + unsigned char character; + unsigned char numberOfBits; + }; + static HuffmanTable Table128[SIZE_TABLE_128]; + static HuffmanTable Table255[SIZE_TABLE_255]; + }; } /* namespace SI */ |