]> cygwin.com Git - cygwin-apps/setup.git/blob - CliParseFeedback.h
Add CliParseFeedback class
[cygwin-apps/setup.git] / CliParseFeedback.h
1 /*
2 * Copyright (c) 2020 Jon Turney
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 */
13
14 #include "IniParseFeedback.h"
15
16 class CliParseFeedback : public IniParseFeedback
17 {
18 public:
19 virtual void progress (unsigned long const pos, unsigned long const max);
20 virtual void iniName (const std::string& name);
21 virtual void babble (const std::string& message) const;
22 virtual void warning (const std::string& message) const;
23 virtual void show_errors () const;
24 virtual void note_error(int lineno, const std::string &s);
25 virtual bool has_errors () const;
26 private:
27 int error_count = 0;
28 };
This page took 0.035478 seconds and 5 git commands to generate.