blob: 109721323f68d859483ed577052826156e192ee3 (
plain) (
blame)
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
|
#ifndef __WILDCHARSENUM_H
#define __WILDCHARSENUM_H
#include <bfc/ptrlist.h>
#include <bfc/string/StringW.h>
class find_entry {
public:
find_entry(const wchar_t *_path, const wchar_t *_filename) : path(_path), filename(_filename) {}
~find_entry() {}
StringW path;
StringW filename;
};
class WildcharsEnumerator
{
public:
WildcharsEnumerator(const wchar_t *_selection);
virtual ~WildcharsEnumerator();
int getNumFiles();
const wchar_t *enumFile(int n);
void rescan();
static int isWildchars(const wchar_t *filename);
private:
StringW selection;
PtrList <find_entry> finddatalist;
StringW singfiledup;
StringW enumFileString;
};
#endif
|