libzypp: zypp-core/ng/ui/userinterface.cc Source File

libzypp 17.38.6

userinterface.cc
Go to the documentation of this file.
1/*---------------------------------------------------------------------\
2| ____ _ __ __ ___ |
3| |__ / \ / / . \ . \ |
4| / / \ V /| _/ _/ |
5| / /__ | | | | | | |
6| /_____||_| |_| |_| |
7| |
8\---------------------------------------------------------------------*/
9
10#include "private/userinterface_p.h"
11#include <zypp-core/ng/ui/UserRequest>
12
13namespace zyppng {
14
15 ZYPP_IMPL_PRIVATE(UserInterface)
16
17 ZYPP_IMPL_PRIVATE_CONSTR( UserInterface ) : Base ( *( new UserInterfacePrivate(*this) ) ) { }
18
19 UserInterface::UserInterface( UserInterfacePrivate &d ) : Base(d)
20 { }
21
22 void UserInterface::sendUserRequest(const UserRequestRef& event)
23 {
24 Z_D();
25 d->_sigEvent.emit( event );
26 }
27
28 SignalProxy<void (UserRequestRef)> UserInterface::sigEvent()
29 {
30 return d_func()->_sigEvent;
31 }
32}
zyppng::Base
Definition base.h:61
zyppng::Base::Base
Base()
Definition base.cc:20
zyppng::SignalProxy
Definition signals.h:325
zyppng::UserInterfacePrivate
Definition userinterface_p.h:11
zyppng::UserInterface
Definition userinterface.h:33
zyppng::UserInterface::sigEvent
SignalProxy< void(UserRequestRef event)> sigEvent()
Definition userinterface.cc:28
zyppng::UserInterface::sendUserRequest
void sendUserRequest(const UserRequestRef &event)
Definition userinterface.cc:22
zyppng::UserInterface::UserInterface
UserInterface(UserInterfacePrivate &d)
Definition userinterface.cc:19
zyppng
Definition MediaNetworkRequestExecutor.h:16
zyppng::ZYPP_IMPL_PRIVATE_CONSTR
ZYPP_IMPL_PRIVATE_CONSTR(Context)
Definition context.cc:14
userinterface_p.h
ZYPP_IMPL_PRIVATE
#define ZYPP_IMPL_PRIVATE(Class)
Definition zyppglobal.h:85
Z_D
#define Z_D()
Definition zyppglobal.h:98