]> cygwin.com Git - cygwin-apps/setup.git/blame - find.h
Use solver to check for problems and produce a list of package transactions
[cygwin-apps/setup.git] / find.h
CommitLineData
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
fd93eff9
MB
20#include <string>
21
b401ef47 22class FindVisitor;
fd93eff9 23
b401ef47
RC
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 */
28class Find
29{
30public:
fd93eff9 31 Find (const std::string& starting_dir);
b401ef47 32 ~Find ();
9d0dd17b 33 void accept (FindVisitor &, int level = __INT_MAX__);
b401ef47 34private:
feee2f2b 35 std::string _start_dir;
b401ef47
RC
36 HANDLE h;
37};
38
c93bc6d0 39#endif /* SETUP_FIND_H */
This page took 0.082051 seconds and 5 git commands to generate.