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

libzypp 17.38.13

userinterface.h
Go to the documentation of this file.
1/*---------------------------------------------------------------------\
2| ____ _ __ __ ___ |
3| |__ / \ / / . \ . \ |
4| / / \ V /| _/ _/ |
5| / /__ | | | | | | |
6| /_____||_| |_| |_| |
7| |
8\---------------------------------------------------------------------*/
9#ifndef ZYPP_CORE_ZYPPNG_USERINTERFACE_H
10#define ZYPP_CORE_ZYPPNG_USERINTERFACE_H
11
12#include <zypp-core/ng/base/Base>
13#include <zypp-core/ng/base/Signals>
14
15namespace zyppng {
16
17 ZYPP_FWD_DECL_TYPE_WITH_REFS( UserInterface );
18 ZYPP_FWD_DECL_TYPE_WITH_REFS( UserRequest );
19
20 class UserInterfacePrivate;
21
32 class UserInterface : public Base
33 {
34 ZYPP_DECLARE_PRIVATE(UserInterface)
35 ZYPP_ADD_CREATE_FUNC(UserInterface)
36
37 public:
38 ZYPP_DECL_PRIVATE_CONSTR(UserInterface);
39 void sendUserRequest( const UserRequestRef& event );
40 SignalProxy<void( UserRequestRef event)> sigEvent();
41
42 protected:
43 UserInterface( UserInterfacePrivate &d );
44 };
45
46}
47
48#endif
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::ZYPP_DECL_PRIVATE_CONSTR
ZYPP_DECL_PRIVATE_CONSTR(UserInterface)
zyppng::UserInterface::UserInterface
UserInterface(UserInterfacePrivate &d)
Definition userinterface.cc:19
zyppng::UserRequest
Definition userrequest.h:49
zyppng
Definition MediaNetworkRequestExecutor.h:16
ZYPP_ADD_CREATE_FUNC
#define ZYPP_ADD_CREATE_FUNC(Class)
Definition zyppglobal.h:198
ZYPP_DECLARE_PRIVATE
#define ZYPP_DECLARE_PRIVATE(Class)
Definition zyppglobal.h:80
ZYPP_FWD_DECL_TYPE_WITH_REFS
#define ZYPP_FWD_DECL_TYPE_WITH_REFS(T)
Definition zyppglobal.h:119