]> cygwin.com Git - cygwin-apps/setup.git/blame - ScanFindVisitor.h
2003-02-16 Pavel Tsekov <ptsekov@gmx.net>
[cygwin-apps/setup.git] / ScanFindVisitor.h
CommitLineData
b401ef47
RC
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 Robert Collins <robertc@hotmail.com>
13 *
14 */
15
16#ifndef _SCANFINDVISITOR_H_
17#define _SCANFINDVISITOR_H_
18
19#include "FindVisitor.h"
20
21class IniDBBuilder;
22/* Scan files and create a package db when no cached .ini exists */
23class ScanFindVisitor : public FindVisitor
24{
25public:
26 ScanFindVisitor (IniDBBuilder &aBuilder);
27 virtual void visitFile(String const &basePath, const WIN32_FIND_DATA *);
28 virtual ~ ScanFindVisitor ();
29protected:
30 ScanFindVisitor (ScanFindVisitor const &);
31 ScanFindVisitor & operator= (ScanFindVisitor const &);
32private:
33 IniDBBuilder &_Builder;
34};
35
36#endif // _SCANFINDVISITOR_H_
This page took 0.027485 seconds and 5 git commands to generate.