1/*
2 SPDX-FileCopyrightText: 2007 Josef Spillner <spillner@kde.org>
3 SPDX-FileCopyrightText: 2007-2010 Frederik Gladhorn <gladhorn@kde.org>
4 SPDX-FileCopyrightText: 2009 Jeremy Whiting <jpwhiting@kde.org>
5
6 SPDX-License-Identifier: LGPL-2.1-or-later
7*/
8
9#ifndef KNEWSTUFF3_ENGINEBASE_P_H
10#define KNEWSTUFF3_ENGINEBASE_P_H
11
12#include "cache.h"
13#include "enginebase.h"
14#include "installation_p.h"
15#include <Attica/ProviderManager>
16
17class KNSCore::EngineBasePrivate
18{
19public:
20 QString name;
21 QStringList categories;
22 QString adoptionCommand;
23 QString useLabel;
24 bool uploadEnabled = false;
25 QUrl providerFileUrl;
26 QStringList tagFilter;
27 QStringList downloadTagFilter;
28 Installation *installation = new Installation();
29 Attica::ProviderManager *atticaProviderManager = nullptr;
30 QList<Provider::SearchPreset> searchPresets;
31 QSharedPointer<Cache> cache;
32 bool shouldRemoveDeletedEntries = false;
33 QList<Provider::CategoryMetadata> categoriesMetadata;
34 QHash<QString, QSharedPointer<KNSCore::Provider>> providers;
35 KNSCore::EngineBase::ContentWarningType contentWarningType = KNSCore::EngineBase::ContentWarningType::Static;
36};
37
38#endif
39

source code of knewstuff/src/core/enginebase_p.h