]> cygwin.com Git - cygwin-apps/setup.git/blob - IniParseFeedback.h
(IniDBBuilderPackage::process_src): Streamline and split out
[cygwin-apps/setup.git] / IniParseFeedback.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 Robert Collins <robertc@hotmail.com>
13 *
14 */
15
16 #ifndef _INIPARSEFEEDBACK_H_
17 #define _INIPARSEFEEDBACK_H_
18
19
20 class String;
21 /* Strategy for feedback from IniParsing.
22 * Used by the builder or parsing classes to send feedback that users need
23 * but that should not interrupt parsing.
24 * Fatal errors are thrown as exceptions.
25 */
26 class IniParseFeedback
27 {
28 public:
29 virtual void progress (unsigned long const, unsigned long const);
30 virtual void iniName (String const &);
31 virtual void babble (String const &) const;
32 virtual void warning (String const &) const;
33 virtual void error (String const &) const;
34 virtual ~ IniParseFeedback ();
35 };
36
37 #endif // _INIPARSEFEEDBACK_H_
This page took 0.040696 seconds and 6 git commands to generate.