Debian Codegraph @

src/plugins/schedulers/tj/tests/TestSchedulerPluginLoader.h

raw
1 /* This file is part of the KDE project
2 * SPDX-FileCopyrightText: 2021 Dag Andersen <[email protected]>
3 *
4 * SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6
7 #ifndef TESTSCHEDULERPLUGINLOADER_H
8 #define TESTSCHEDULERPLUGINLOADER_H
9
10 #include <QObject>
11
12 #include "kptschedulerplugin_macros.h"
13
14
15 /// The main namespace.
16 namespace KPlato
17 {
18
19 class SchedulerPlugin;
20
21 class TestSchedulerPluginLoader : public QObject
22 {
23 Q_OBJECT
24 public:
25 explicit TestSchedulerPluginLoader(QObject * parent);
26 ~TestSchedulerPluginLoader() override;
27
28 SchedulerPlugin *loadPlugin(const QString &dir, const QString &name);
29 };
30
31 } //namespace KPlato
32
33 #endif