libzypp 17.37.17
contextfacade.cc
Go to the documentation of this file.
1/*---------------------------------------------------------------------\
2| ____ _ __ __ ___ |
3| |__ / \ / / . \ . \ |
4| / / \ V /| _/ _/ |
5| / /__ | | | | | | |
6| /_____||_| |_| |_| |
7| |
8\---------------------------------------------------------------------*/
9#include "contextfacade.h"
10#include <zypp/ZYppFactory.h>
11
12namespace zyppng
13{
15 {
16
17 }
18
19
27 {
28 static SyncContextRef def = SyncContext::create();
29 return def;
30 }
31
32 MediaSyncFacadeRef SyncContext::provider() const
33 {
34 return _media;
35 }
36
38 {
39 return zypp::getZYpp()->keyRing();
40 }
41
46
51
56
61}
ResPool::instance().proxy();.
Global ResObject pool.
Definition ResPool.h:62
static ResPool instance()
Singleton ctor.
Definition ResPool.cc:38
ResPoolProxy proxy() const
preliminary
Definition ResPool.cc:59
Interim helper class to collect global options and settings.
Definition ZConfig.h:69
static ZConfig & instance()
Singleton ctor.
Definition ZConfig.cc:940
ZYpp::Ptr getZYpp()
Convenience to get the Pointer to the ZYpp instance.
Definition ZYppFactory.h:77
Global sat-pool.
Definition Pool.h:47
static Pool instance()
Singleton ctor.
Definition Pool.h:55
zypp::ZConfig & config()
zypp::ResPool pool()
KeyRingRef keyRing() const
static SyncContextRef defaultContext()
zypp::sat::Pool satPool()
zypp::ResPoolProxy poolProxy()
MediaSyncFacadeRef provider() const
MediaSyncFacadeRef _media
zypp::KeyRing_Ptr KeyRingRef
Definition context.h:29
#define ZYPP_IMPL_PRIVATE_CONSTR(Class)
Definition zyppglobal.h:222