libzypp
17.38.6
autoinstalledcomponent.cc
Go to the documentation of this file.
1
/*---------------------------------------------------------------------
2
| ____ _ __ __ ___ |
3
| |__ / \ / / . \ . \ |
4
| / / \ V /| _/ _/ |
5
| / /__ | | | | | | |
6
| /_____||_| |_| |_| |
7
| |
8
----------------------------------------------------------------------*/
9
#include "
autoinstalledcomponent.h
"
10
#include <
zypp/ng/sat/pool.h
>
11
12
namespace
zyppng::sat
{
13
14
void
AutoInstalledComponent::onRepoRemoved
(
Pool
&
pool
,
detail::RepoIdType
id
)
15
{
16
if
(
pool
.isSystemRepo(
id
) )
17
_autoinstalled
.clear();
18
}
19
20
void
AutoInstalledComponent::onReset
(
Pool
& )
21
{
22
_autoinstalled
.clear();
23
}
24
25
}
// namespace zyppng::sat
autoinstalledcomponent.h
zyppng::sat::AutoInstalledComponent::onRepoRemoved
void onRepoRemoved(Pool &pool, detail::RepoIdType id) override
Definition
autoinstalledcomponent.cc:14
zyppng::sat::AutoInstalledComponent::_autoinstalled
StringQueue _autoinstalled
Definition
autoinstalledcomponent.h:47
zyppng::sat::AutoInstalledComponent::onReset
void onReset(Pool &pool) override
Definition
autoinstalledcomponent.cc:20
zyppng::sat::Pool
Orchestrator for a libsolv pool instance.
Definition
pool.h:37
zypp::pool
Definition
ByIdent.h:24
zyppng::sat::detail::RepoIdType
zypp::sat::detail::RepoIdType RepoIdType
Definition
poolconstants.h:45
zyppng::sat
This file contains private API, this might break at any time between releases.
Definition
capabilities.h:22
pool.h
zypp
ng
sat
components
autoinstalledcomponent.cc
Generated by
1.16.1