libzypp
17.35.11
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>
14
#include <
zypp-core/zyppng/base/private/base_p.h
>
15
16
namespace
zyppng
{
17
18
class
ZYPP_LOCAL
RepoManagerPrivate
:
public
BasePrivate
,
public
zypp::RepoManagerBaseImpl
19
{
20
ZYPP_DECLARE_PUBLIC
(
RepoManager
)
21
public
:
22
23
RepoManagerPrivate
( ContextRef ctx,
RepoManagerOptions
repoOpts,
RepoManager
&p );
24
25
AsyncOpRef<expected<zypp::repo::RepoType>
> probe(
const
zypp::Url
& url,
const
zypp::Pathname
& path =
zypp::Pathname
() )
const
;
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
:
31
void
removeRepository(
const
zypp::RepoInfo
&info,
const
zypp::ProgressData::ReceiverFnc
&)
override
;
32
};
33
34
}
35
36
37
#endif
zyppng::RepoManagerPrivate
Definition:
repomanager_p.h:18
zypp::ProgressData::ReceiverFnc
function< bool(const ProgressData &)> ReceiverFnc
Most simple version of progress reporting The percentage in most cases.
Definition:
progressdata.h:140
zypp::RepoInfo
What is known about a repository.
Definition:
RepoInfo.h:71
repomanager.h
zypp::RepoManagerOptions
Repo manager settings.
Definition:
RepoManagerOptions.h:25
zyppng::AsyncOpRef
std::shared_ptr< AsyncOp< T > > AsyncOpRef
Definition:
asyncop.h:255
zyppng::RepoManagerPrivate::_context
ContextWeakRef _context
Definition:
repomanager_p.h:27
RepoManager
ZYPP_DECLARE_PUBLIC
#define ZYPP_DECLARE_PUBLIC(Class)
Definition:
zyppglobal.h:98
zypp::filesystem::Pathname
Pathname.
Definition:
Pathname.h:46
base_p.h
zyppng
Definition:
MediaNetwork.h:23
zyppng::BasePrivate
Definition:
base_p.h:13
zypp::Url
Url manipulation class.
Definition:
Url.h:91
ZYPP_LOCAL
#define ZYPP_LOCAL
Definition:
Globals.h:71
zypp
ng
private
repomanager_p.h
Generated by
1.8.14