33 void error(
const std::string & problem_desc,
const std::string & hint )
override;
34 void error(
const zypp::Exception & e,
const std::string & problem_desc,
const std::string & hint )
override;
37 void progressStart(
const std::string &
id,
const std::string & label,
bool is_tick )
override;
38 void progress(
const std::string &
id,
const std::string & label,
int value )
override;
39 void progressEnd(
const std::string &
id,
const std::string & label,
const std::string & donetag,
bool error)
override;
void setUseColors(bool value) override
Hint for a handler whether config would allow to use colors.
void displayTick(const std::string &s)
void dwnldProgressStart(const zypp::Url &uri) override
Reoprt start of a download.
OutNormal(Verbosity verbosity=NORMAL)
void progressEnd(const std::string &id, const std::string &label, const std::string &donetag, bool error) override
End of an operation with reported progress.
void prompt(PromptId id, const std::string &prompt, const PromptOptions &poptions, const std::string &startdesc) override
Prompt the user for a decision.
void displayProgress(const std::string &s, int percent)
void infoLine(const TermLine &msg, Verbosity verbosity, Type mask) override
info taking a TermLine
unsigned termwidth() const override
Width for formatted output [0==unlimited].
void dwnldProgress(const zypp::Url &uri, int value, long rate) override
Reports download progress.
bool infoWarningFilter(Verbosity verbosity, Type mask)
void promptHelp(const PromptOptions &poptions) override
Print help for prompt, if available.
void progressStart(const std::string &id, const std::string &label, bool is_tick) override
Start of an operation with reported progress.
void progress(const std::string &id, const std::string &label, int value) override
Progress report for an on-going operation.
void warning(const std::string &msg, Verbosity verbosity, Type mask) override
Show a warning.
void dwnldProgressEnd(const zypp::Url &uri, long rate, zypp::TriBool error) override
Reports end of a download.
bool mine(Type type) override
Determine whether the output is intended for the particular type.
Base class for producing common (for now) zypper output.
Verbosity verbosity() const
Get current verbosity.
Verbosity
Verbosity levels.
@ NORMAL
Default output verbosity level.
TypeBit type() const
Return the type of the instance.
Example: PromptOptions popts; popts.setOptions(_("y/n/p"), 0 / * default reply * /); popts....
Base class for Exception.
boost::logic::tribool TriBool
3-state boolean logic (true, false and indeterminate).