1 /* 2 SPDX-FileCopyrightText: 2020 Alexander Lohnau <alexander.lohnau@gmx.de> 3 4 SPDX-License-Identifier: LGPL-2.0-or-later 5 */ 6 7 #ifndef SCRIPTJOB_H 8 #define SCRIPTJOB_H 9 10 #include "AbstractJob.h" 11 12 class ScriptJob : public AbstractJob 13 { 14 Q_OBJECT 15 16 public: 17 void executeOperation(const QFileInfo &fileInfo, const QString &mimeType, bool install) override; 18 19 private: 20 QString formatScriptCommand(bool install, const QString &installerPath); 21 }; 22 23 #endif // SCRIPTJOB_H 24