File indexing completed on 2024-12-22 04:15:12
0001 /* 0002 * resourcemanager.h -- Part of Krita 0003 * 0004 * SPDX-FileCopyrightText: 2014 Boudewijn Rempt (boud@valdyas.org) 0005 * 0006 * SPDX-License-Identifier: GPL-2.0-or-later 0007 */ 0008 #ifndef RESOURCEMANAGER_H 0009 #define RESOURCEMANAGER_H 0010 0011 #include <QVariant> 0012 #include <QStringList> 0013 #include <QString> 0014 0015 #include <KoResourceServer.h> 0016 0017 #include <KisActionPlugin.h> 0018 #include <KoResourceBundle.h> 0019 0020 #include "dlg_create_bundle.h" 0021 0022 class ResourceManager : public KisActionPlugin 0023 { 0024 Q_OBJECT 0025 public: 0026 ResourceManager(QObject *parent, const QVariantList &); 0027 ~ResourceManager() override; 0028 KoResourceBundleSP saveBundle(const DlgCreateBundle &dlgCreateBundle); 0029 0030 private Q_SLOTS: 0031 void slotManageBundles(); 0032 void slotManageResources(); 0033 0034 private: 0035 class Private; 0036 QScopedPointer<Private> d; 0037 }; 0038 0039 #endif // RESOURCEMANAGER_H