-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwxBupExclusionsh.h
42 lines (37 loc) · 1.08 KB
/
wxBupExclusionsh.h
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
38
39
40
41
/*-----------------------------------------------------------------
* Name: wxBupExclusionsh.h
* Purpose: custom class to handle file exclusions for wxBup
* Author: A. Wiegert
*
* Copyright:
* Licence: wxWidgets licence
*-------------------------------------------------------------- */
#ifndef _WXBUP_EXCLUSIONS_H
#define _WXBUP_EXCLUSIONS_H
// ------------------------------------------------------------------
#include "wx/string.h"
#include "wx/tokenzr.h"
#include "wx/filename.h"
class FileExclusions
{
public:
FileExclusions() {};
FileExclusions( wxString wsList );
~FileExclusions() {};
bool Matches( wxString wsFilename );
void SetString( wxString wsList );
wxString m_wsList;
};
// ------------------------------------------------------------------
class DirExclusions
{
public:
DirExclusions() {};
DirExclusions( wxString wsList );
~DirExclusions() {};
bool Matches( wxString wsFilename );
void SetString( wxString wsList );
wxString m_wsList;
};
#endif // _WXBUP_EXCLUSIONS_H
// ------------------------------- eof ---------------------------