Added translation using Weblate (Italian)
[cygwin-setup.git] / find.h
blob05cc3b4c3b0d5c08c509f7aaf9f6bd73ec9b4905
1 /*
2 * Copyright (c) 2002 Robert Collins.
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.
9 * A copy of the GNU General Public License can be found at
10 * http://www.gnu.org/
12 * Written by DJ Delorie <dj@cygnus.com>
13 * Written by Robert Collins <rbtcollins@hotmail.com>
17 #ifndef SETUP_FIND_H
18 #define SETUP_FIND_H
20 #include <string>
22 class FindVisitor;
24 /* TODO: make h conditional on the target platform */
25 #include "win32.h"
27 /* An aggregate representing all the files and folders in a given directory */
28 class Find
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;
39 #endif /* SETUP_FIND_H */