]>
cygwin.com Git - cygwin-apps/setup.git/blob - IniParseFindVisitor.h
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
12 * Written by Robert Collins <robertc@hotmail.com>
16 #ifndef _INIPARSEFINDVISITOR_H_
17 #define _INIPARSEFINDVISITOR_H_
19 #include "FindVisitor.h"
22 /* parse passed in setup.ini files from disk. */
24 class IniParseFeedback
;
25 /* IniParse files and create a package db when no cached .ini exists */
26 class IniParseFindVisitor
: public FindVisitor
29 IniParseFindVisitor (IniDBBuilder
&aBuilder
, String
const &localroot
, IniParseFeedback
const &);
30 virtual void visitFile(String
const &basePath
, const WIN32_FIND_DATA
*);
31 virtual ~ IniParseFindVisitor ();
33 unsigned int timeStamp() const;
34 String
version() const;
37 IniParseFindVisitor (IniParseFindVisitor
const &);
38 IniParseFindVisitor
& operator= (IniParseFindVisitor
const &);
40 IniDBBuilder
&_Builder
;
41 IniParseFeedback
const &_feedback
;
42 unsigned int baseLength
;
46 unsigned int setup_timestamp
;
50 #endif // _INIPARSEFINDVISITOR_H_
This page took 0.038332 seconds and 5 git commands to generate.