]> cygwin.com Git - cygwin-apps/setup.git/blob - find.h
2004-12-25 Max Bowsher <maxb@ukf.net>
[cygwin-apps/setup.git] / find.h
1 /*
2 * Copyright (c) 2002 Robert Collins.
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>
13 * Written by Robert Collins <rbtcollins@hotmail.com>
14 *
15 */
16
17 #ifndef SETUP_FIND_H
18 #define SETUP_FIND_H
19
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
37 #endif /* SETUP_FIND_H */
This page took 0.034032 seconds and 5 git commands to generate.