14 #ifndef ZYPP_BASE_EVENTLOOP_DEFINED 15 #define ZYPP_BASE_EVENTLOOP_DEFINED 18 #include <zypp-core/ng/base/Signals> 19 #include <zypp-core/ng/base/Base> 27 class EventLoopPrivate;
47 using Ptr = EventLoopRef;
51 static Ptr create ( EventDispatcherRef dispatcher );
72 EventLoop( EventDispatcherRef dispatcher );
std::shared_ptr< EventDispatcher > eventDispatcher() const
std::weak_ptr< Base > WeakPtr
EventLoop(GMainContext *ctx=nullptr)
#define ZYPP_DECLARE_PRIVATE(Class)
ZYPP_FWD_DECL_TYPE_WITH_REFS(EventDispatcher)
struct _GMainContext GMainContext
static Ptr create(GMainContext *ctx=nullptr)
std::shared_ptr< Base > Ptr