]> cygwin.com Git - cygwin-apps/setup.git/blob - find.h
Use solver to check for problems and produce a list of package transactions
[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 #include <string>
21
22 class FindVisitor;
23
24 /* TODO: make h conditional on the target platform */
25 #include "win32.h"
26
27 /* An aggregate representing all the files and folders in a given directory */
28 class Find
29 {
30 public:
31 Find (const std::string& starting_dir);
32 ~Find ();
33 void accept (FindVisitor &, int level = __INT_MAX__);
34 private:
35 std::string _start_dir;
36 HANDLE h;
37 };
38
39 #endif /* SETUP_FIND_H */
This page took 0.042307 seconds and 5 git commands to generate.