summaryrefslogtreecommitdiff
path: root/dish.h
diff options
context:
space:
mode:
authorDimitar Petrovski <dimeptr@gmail.com>2011-09-14 16:10:56 +0200
committerDimitar Petrovski <dimeptr@gmail.com>2011-09-14 16:10:56 +0200
commit9c53646dc79a1447fd3201b37412108d7f94ea28 (patch)
tree479a683a77bca0f8b49c38920f0cc8c10281278a /dish.h
parent038d482b3d317e8369c11a693c485517b6646c33 (diff)
downloadvdr-plugin-eepg-9c53646dc79a1447fd3201b37412108d7f94ea28.tar.gz
vdr-plugin-eepg-9c53646dc79a1447fd3201b37412108d7f94ea28.tar.bz2
fix compile
Diffstat (limited to 'dish.h')
-rw-r--r--dish.h60
1 files changed, 30 insertions, 30 deletions
diff --git a/dish.h b/dish.h
index 80d2c6a..fb1689c 100644
--- a/dish.h
+++ b/dish.h
@@ -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 */