35    *getApplicationInstance() = 
this;
 
   36    _out = std::make_shared<OutNormal>();
 
 
   42    *getApplicationInstance() = 
nullptr;
 
   47    auto instPtr = *getApplicationInstance ();
 
   49      ZYPP_THROW( 
zypp::Exception(
"No ztui::Application intance registered, its required to create one manually before using ztui.") );
 
 
   79    WAR << 
"setExitCode " << exit << std::endl;
 
 
 
virtual void setOutputWriter(Out *out)
std::shared_ptr< Out > _out
std::shared_ptr< Config > _config
static Application & instance()
void setExitCode(int exit)
const Config & config() const
Base class for producing common (for now) zypper output.
@ QUIET
Only important messages (no progress or status, only the result).
Class representing an application (appdata.xml)
~Application() override
Dtor.
Base class for Exception.
static constexpr int ZTUI_EXIT_OK
#define ZYPP_THROW(EXCPT)
Drops a logline and throws the Exception.