summaryrefslogtreecommitdiff
path: root/imagelist.h
diff options
context:
space:
mode:
Diffstat (limited to 'imagelist.h')
-rw-r--r--imagelist.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/imagelist.h b/imagelist.h
new file mode 100644
index 0000000..6458149
--- /dev/null
+++ b/imagelist.h
@@ -0,0 +1,37 @@
+#ifndef __IMAGELIST_DVDSWITCH_H
+#define __IMAGELIST_DVDSWITCH_H
+
+#include <vdr/tools.h>
+#include <vdr/i18n.h>
+#include "imagelist-item.h"
+
+class cImageList : public cList<cImageListItem>
+{
+ private:
+ cStringValue SString;
+ cStringValue Ext;
+ cStringValue HideExt;
+ cStringValue DirIn;
+ cStringValue Short;
+
+ bool Setup;
+
+ void AddItem(char *item);
+ public:
+ cImageList(void);
+ ~cImageList(void);
+
+ void Init(void);
+ void AddSetup(char *value);
+
+ char *GetSetupString(void);
+ char *GetExtensions(void);
+ char *GetHideExtensions(void);
+ char *GetDirContains(void);
+ char *GetShortName(char *file);
+ bool IsHide(char *ext);
+};
+
+extern cImageList ImageList;
+
+#endif //__IMAGELIST_DVDSWITCH_H