blob: ef539ef426bd07a74e1508a4fbf94053e74b3ccf (
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
|
#include <vdr/tools.h>
#include <vdr/i18n.h>
#include "dvdlist-item.h"
#include "helpers.h"
class cDVDList : public cList<cDVDListItem>
{
private:
char *DVDExts;
char *DVDDirs;
bool Load(char *dir, eFileList smode, bool sub);
public:
cDVDList(void)
{
DVDExts = NULL;
DVDDirs = NULL;
}
~cDVDList(void)
{
free(DVDExts);
free(DVDDirs);
}
//bool Create(char *dir, DVDType dtype = dtAll, DLSortMode smode = dlAsc, bool subdirs = false);
bool Create(char *dir, char *exts, char *dirs, eFileList smode = sNone, bool sub = false);
};
|