File indexing completed on 2024-05-05 17:33:19

0001 /*
0002  *   SPDX-FileCopyrightText: 2013 Aleix Pol Gonzalez <aleixpol@blue-systems.com>
0003  *
0004  *   SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0005  */
0006 
0007 #pragma once
0008 
0009 #include "discovercommon_export.h"
0010 #include <QVector>
0011 
0012 class Category;
0013 class AbstractResourcesBackend;
0014 class DISCOVERCOMMON_EXPORT CategoriesReader
0015 {
0016 public:
0017     QVector<Category *> loadCategoriesPath(const QString &path);
0018     QVector<Category *> loadCategoriesFile(AbstractResourcesBackend *backend);
0019 };