Added translation using Weblate (Italian)
[cygwin-setup.git] / CliParseFeedback.h
bloba19659eb62fef94a976f0ab30a337c1e30d62da3
1 /*
2 * Copyright (c) 2020 Jon Turney
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/
14 #include "IniParseFeedback.h"
16 class CliParseFeedback : public IniParseFeedback
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;