libyui-qt-pkg
Loading...
Searching...
No Matches
YQPkgFilters.h
1/*
2 Copyright (c) 2018-2021 SUSE LLC
3
4 This library is free software; you can redistribute it and/or modify
5 it under the terms of the GNU Lesser General Public License as
6 published by the Free Software Foundation; either version 2.1 of the
7 License, or (at your option) version 3.0 of the License. This library
8 is distributed in the hope that it will be useful, but WITHOUT ANY
9 WARRANTY; without even the implied warranty of MERCHANTABILITY or
10 FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
11 License for more details. You should have received a copy of the GNU
12 Lesser General Public License along with this library; if not, write
13 to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
14 Floor, Boston, MA 02110-1301 USA
15*/
16
17
18#ifndef YQPkgFilters_h
19#define YQPkgFilters_h
20
21#include "YQZypp.h"
22
27{
28
29public:
30
38 static ZyppProduct singleProductFilter( std::function<bool(const zypp::PoolItem& item)> filter);
39
40};
41
42#endif // ifndef YQPkgFilters_h
Zypp filtering helpers.
Definition YQPkgFilters.h:27
static ZyppProduct singleProductFilter(std::function< bool(const zypp::PoolItem &item)> filter)
Definition YQPkgFilters.cc:35