summaryrefslogtreecommitdiff
path: root/dvdlist.h
blob: b386bc43b01596b7a91798118355993dba3da638 (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
#include <vdr/tools.h>
#include "dvdlist-item.h"
#include "helpers.h"

class cDVDList : public cList<cDVDListItem>
{
  private:
    char *DVDExts;
    char *DVDDirs;

    bool Load(const char *dir, eFileList smode, bool sub);
  public:
    cDVDList(void)
    {
      DVDExts = NULL;
      DVDDirs = NULL;
    }
    ~cDVDList(void)
    {
      free(DVDExts);
      free(DVDDirs);
    }
    bool Create(const char *dir, const char *exts, const char *dirs, eFileList smode = sNone, bool sub = false);
    
};