libzypp 17.34.1
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{
18
19 MediaSyncFacadeRef SyncContext::provider() const
20 {
21 return _media;
22 }
23
25 {
26 return zypp::getZYpp()->keyRing();
27 }
28
33}
Interim helper class to collect global options and settings.
Definition ZConfig.h:64
static ZConfig & instance()
Singleton ctor.
Definition ZConfig.cc:925
zypp::ZConfig & config()
KeyRingRef keyRing() const
MediaSyncFacadeRef provider() const
MediaSyncFacadeRef _media
zypp::KeyRing_Ptr KeyRingRef
Definition context.h:29
MediaHandle _media
#define ZYPP_IMPL_PRIVATE_CONSTR(Class)
Definition zyppglobal.h:213