summaryrefslogtreecommitdiff
path: root/imagelist.h
diff options
context:
space:
mode:
authoranbr <vdr07@deltab.de>2010-12-21 20:36:58 +0100
committeranbr <vdr07@deltab.de>2010-12-21 20:36:58 +0100
commit10a33e14d6338ff004410413f6fe52810be43f67 (patch)
tree6f71b062e9235be1383a9e6c536fea336d400e6c /imagelist.h
downloadvdr-plugin-dvdswitch-10a33e14d6338ff004410413f6fe52810be43f67.tar.gz
vdr-plugin-dvdswitch-10a33e14d6338ff004410413f6fe52810be43f67.tar.bz2
release 0.1.0 from http://www.schmidtie.de/download/vdr-dvdswitch-0.1.0.tar.bz20.1.0
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