libzypp 17.35.19
|
#include <zypp-core/zyppng/ui/userinterface.h>
Protected Member Functions | |
UserInterface (UserInterfacePrivate &d) | |
![]() | |
Base (BasePrivate &dd) | |
Additional Inherited Members | |
![]() | |
using | Ptr = std::shared_ptr<Base> |
using | WeakPtr = std::weak_ptr<Base> |
![]() | |
template<typename Obj , typename Functor > | |
static decltype(auto) | make_base_slot (Obj *o, Functor &&f) |
template<typename SenderFunc , typename ReceiverFunc > | |
static auto | connect (typename internal::MemberFunction< SenderFunc >::ClassType &s, SenderFunc &&sFun, typename internal::MemberFunction< ReceiverFunc >::ClassType &recv, ReceiverFunc &&rFunc) |
template<typename SenderFunc , typename ReceiverFunc , typename ... Tracker> | |
static auto | connectFunc (typename internal::MemberFunction< SenderFunc >::ClassType &s, SenderFunc &&sFun, ReceiverFunc &&rFunc, const Tracker &...trackers) |
![]() | |
std::unique_ptr< BasePrivate > | d_ptr |
Generic code that allows libzypp to send messages and request directly to the user code.
Every time a new request is sent the UserInterface::sigEvent signal is emitted, which deliveres the specific request. Depending on the type of request the frontend code can return data to libzypp, for example if a user wants to trust a key, or a simple password request.
Definition at line 32 of file userinterface.h.
|
protected |
Definition at line 19 of file userinterface.cc.
zyppng::UserInterface::ZYPP_DECL_PRIVATE_CONSTR | ( | UserInterface | ) |
void zyppng::UserInterface::sendUserRequest | ( | const UserRequestRef & | event | ) |
Definition at line 22 of file userinterface.cc.
SignalProxy< void(UserRequestRef)> zyppng::UserInterface::sigEvent | ( | ) |
Definition at line 28 of file userinterface.cc.