summaryrefslogtreecommitdiff
path: root/imagelist.h
blob: 645814932db92a8d2580ffd648958ae38788c9b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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