1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3
4#ifndef PACKAGEFILTER_H
5#define PACKAGEFILTER_H
6
7#include "package.h"
8
9struct PackageFilter
10{
11 PackageFilter(const QString &expression);
12
13 bool operator()(const Package &p);
14
15 enum {
16 InvalidFilter,
17 QDocModuleFilter
18 } type;
19 QString expression;
20};
21
22#endif // PACKAGEFILTER_H
23

source code of qttools/src/qtattributionsscanner/packagefilter.h