File indexing completed on 2023-12-03 07:57:52

0001 /*
0002     SPDX-FileCopyrightText: 2022 Friedrich W. H. Kossebau <kossebau@kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.1-or-later
0005 */
0006 
0007 #ifndef KODASKANNA_PURPOSEPLUGIN_LAUNCHJOB_HPP
0008 #define KODASKANNA_PURPOSEPLUGIN_LAUNCHJOB_HPP
0009 
0010 // KF
0011 #include <Purpose/Job>
0012 
0013 namespace Kodaskanna
0014 {
0015 
0016 namespace PurposePlugin
0017 {
0018 
0019 class LaunchJob : public Purpose::Job
0020 {
0021     Q_OBJECT
0022 
0023 public:
0024     explicit LaunchJob(QObject *parent);
0025 
0026 public: // Purpose::Job API
0027     void start() override;
0028 
0029 private:
0030     void handleApplicationLaunchJobResult(KJob *job);
0031 };
0032 
0033 }
0034 }
0035 
0036 #endif