libzypp 17.31.23
|
Generic report for sending messages. More...
#include <ZYppCallbacks.h>
Classes | |
struct | EMsgTypeDef |
message type (use like 'enum class MsgType') More... | |
Public Types | |
typedef base::EnumClass< EMsgTypeDef > | MsgType |
'enum class MsgType' | |
typedef callback::UserData | UserData |
typsafe map of userdata | |
![]() | |
typedef callback::UserData | UserData |
typedef UserData::ContentType | ContentType |
Public Member Functions | |
virtual bool | message (MsgType type_r, const std::string &msg_r, const UserData &userData_r) const |
Send a ready to show message text. | |
![]() | |
virtual void | report (const UserData &userData_r=UserData()) |
The most generic way of sending/receiving data. | |
virtual | ~ReportBase () |
Static Public Member Functions | |
Static sender instance | |
static callback::SendReport< JobReport > & | instance () |
Singleton sender instance. | |
static bool | debug (const std::string &msg_r, const UserData &userData_r=UserData()) |
send debug message text | |
static bool | info (const std::string &msg_r, const UserData &userData_r=UserData()) |
send message text | |
static bool | warning (const std::string &msg_r, const UserData &userData_r=UserData()) |
send warning text | |
static bool | error (const std::string &msg_r, const UserData &userData_r=UserData()) |
send error text | |
static bool | important (const std::string &msg_r, const UserData &userData_r=UserData()) |
send important message text | |
static bool | data (const std::string &msg_r, const UserData &userData_r=UserData()) |
send data message | |
Generic report for sending messages.
Definition at line 998 of file ZYppCallbacks.h.
typedef base::EnumClass<EMsgTypeDef> zypp::JobReport::MsgType |
'enum class MsgType'
Definition at line 1005 of file ZYppCallbacks.h.
typsafe map of userdata
Definition at line 1008 of file ZYppCallbacks.h.
|
inlinevirtual |
Send a ready to show message text.
Definition at line 1012 of file ZYppCallbacks.h.
|
static |
Singleton sender instance.
Definition at line 51 of file ZYppImpl.cc.
|
inlinestatic |
send debug message text
Definition at line 1022 of file ZYppCallbacks.h.
|
inlinestatic |
send message text
Definition at line 1026 of file ZYppCallbacks.h.
|
inlinestatic |
send warning text
Definition at line 1030 of file ZYppCallbacks.h.
|
inlinestatic |
send error text
Definition at line 1034 of file ZYppCallbacks.h.
|
inlinestatic |
send important message text
Definition at line 1038 of file ZYppCallbacks.h.
|
inlinestatic |
send data message
Definition at line 1042 of file ZYppCallbacks.h.