libzypp 17.37.17
repomanager_p.h
Go to the documentation of this file.
1/*---------------------------------------------------------------------\
2| ____ _ __ __ ___ |
3| |__ / \ / / . \ . \ |
4| / / \ V /| _/ _/ |
5| / /__ | | | | | | |
6| /_____||_| |_| |_| |
7| |
8\---------------------------------------------------------------------*/
9#ifndef ZYPP_NG_PRIVATE_REPOMANAGER_P_H
10#define ZYPP_NG_PRIVATE_REPOMANAGER_P_H
11
12#include <zypp/ng/repomanager.h>
13#include <zypp/zypp_detail/repomanagerbase_p.h>
15
16namespace zyppng {
17
18 class ZYPP_LOCAL RepoManagerPrivate : public BasePrivate, public zypp::RepoManagerBaseImpl
19 {
21 public:
22
23 RepoManagerPrivate( ContextRef ctx, RepoManagerOptions repoOpts, RepoManager &p );
24
26
27 ContextWeakRef _context; //< weak ref to our context to prevent a ref loop, this should always be valid
28
29 // RepoManagerBaseImpl interface
30 public:
32 };
33
34}
35
36
37#endif
function< bool(const ProgressData &)> ReceiverFnc
Most simple version of progress reporting The percentage in most cases.
What is known about a repository.
Definition RepoInfo.h:72
Url manipulation class.
Definition Url.h:93
BasePrivate(Base &b)
Definition base_p.h:17
AsyncOpRef< expected< zypp::repo::RepoType > > probe(const zypp::Url &url, const zypp::Pathname &path=zypp::Pathname()) const
RepoManagerPrivate(ContextRef ctx, RepoManagerOptions repoOpts, RepoManager &p)
void removeRepository(const zypp::RepoInfo &info, const zypp::ProgressData::ReceiverFnc &) override
The RepoManager class Provides knowledge and methods to maintain repo settings and metadata for a giv...
Url details namespace.
Definition UrlBase.cc:58
std::shared_ptr< AsyncOp< T > > AsyncOpRef
Definition asyncop.h:255
Repo manager settings.
#define ZYPP_LOCAL
Definition Globals.h:71
#define ZYPP_DECLARE_PUBLIC(Class)
Definition zyppglobal.h:98