|
a/src/utils/fstreewalk.h |
|
b/src/utils/fstreewalk.h |
|
... |
|
... |
14 |
* Free Software Foundation, Inc.,
|
14 |
* Free Software Foundation, Inc.,
|
15 |
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
15 |
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
16 |
*/
|
16 |
*/
|
17 |
#ifndef _FSTREEWALK_H_INCLUDED_
|
17 |
#ifndef _FSTREEWALK_H_INCLUDED_
|
18 |
#define _FSTREEWALK_H_INCLUDED_
|
18 |
#define _FSTREEWALK_H_INCLUDED_
|
19 |
/* @(#$Id: fstreewalk.h,v 1.6 2006-12-21 08:22:35 dockes Exp $ (C) 2004 J.F.Dockes */
|
19 |
/* @(#$Id: fstreewalk.h,v 1.7 2007-07-12 10:53:07 dockes Exp $ (C) 2004 J.F.Dockes */
|
20 |
|
20 |
|
21 |
#include <string>
|
21 |
#include <string>
|
22 |
#include <list>
|
22 |
#include <list>
|
23 |
|
23 |
|
24 |
#ifndef NO_NAMESPACES
|
24 |
#ifndef NO_NAMESPACES
|
|
... |
|
... |
69 |
do not descend (ie: /home/me/.recoll) */
|
69 |
do not descend (ie: /home/me/.recoll) */
|
70 |
bool addSkippedPath(const string &path);
|
70 |
bool addSkippedPath(const string &path);
|
71 |
/** Set the ignored paths list */
|
71 |
/** Set the ignored paths list */
|
72 |
bool setSkippedPaths(const list<string> &pathlist);
|
72 |
bool setSkippedPaths(const list<string> &pathlist);
|
73 |
|
73 |
|
|
|
74 |
bool inSkippedPaths(const string& path);
|
|
|
75 |
bool inSkippedNames(const string& name);
|
74 |
private:
|
76 |
private:
|
75 |
Status iwalk(const string &dir, FsTreeWalkerCB& cb);
|
77 |
Status iwalk(const string &dir, FsTreeWalkerCB& cb);
|
76 |
class Internal;
|
78 |
class Internal;
|
77 |
Internal *data;
|
79 |
Internal *data;
|
78 |
};
|
80 |
};
|