]>
Commit | Line | Data |
---|---|---|
aa32874b | 1 | /* |
b401ef47 | 2 | * Copyright (c) 2002 Robert Collins. |
aa32874b DD |
3 | * |
4 | * This program is free software; you can redistribute it and/or modify | |
5 | * it under the terms of the GNU General Public License as published by | |
6 | * the Free Software Foundation; either version 2 of the License, or | |
7 | * (at your option) any later version. | |
8 | * | |
9 | * A copy of the GNU General Public License can be found at | |
10 | * http://www.gnu.org/ | |
11 | * | |
12 | * Written by DJ Delorie <dj@cygnus.com> | |
b401ef47 | 13 | * Written by Robert Collins <rbtcollins@hotmail.com> |
aa32874b DD |
14 | * |
15 | */ | |
16 | ||
c93bc6d0 MB |
17 | #ifndef SETUP_FIND_H |
18 | #define SETUP_FIND_H | |
aa32874b | 19 | |
b401ef47 RC |
20 | class FindVisitor; |
21 | #include "String++.h" | |
22 | /* TODO: make h conditional on the target platform */ | |
23 | #include "win32.h" | |
24 | ||
25 | /* An aggregate representing all the files and folders in a given directory */ | |
26 | class Find | |
27 | { | |
28 | public: | |
29 | Find (String const &starting_dir); | |
30 | ~Find (); | |
31 | void accept (FindVisitor &); | |
32 | private: | |
33 | String const _start_dir; | |
34 | HANDLE h; | |
35 | }; | |
36 | ||
c93bc6d0 | 37 | #endif /* SETUP_FIND_H */ |