mirror of
https://github.com/Qortal/Brooklyn.git
synced 2025-02-15 03:35:55 +00:00
24 lines
474 B
C
24 lines
474 B
C
|
/*
|
||
|
SPDX-FileCopyrightText: 2020 Alexander Lohnau <alexander.lohnau@gmx.de>
|
||
|
|
||
|
SPDX-License-Identifier: LGPL-2.0-or-later
|
||
|
*/
|
||
|
|
||
|
#ifndef SCRIPTJOB_H
|
||
|
#define SCRIPTJOB_H
|
||
|
|
||
|
#include "AbstractJob.h"
|
||
|
|
||
|
class ScriptJob : public AbstractJob
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
void executeOperation(const QFileInfo &fileInfo, const QString &mimeType, bool install) override;
|
||
|
|
||
|
private:
|
||
|
QString formatScriptCommand(bool install, const QString &installerPath);
|
||
|
};
|
||
|
|
||
|
#endif // SCRIPTJOB_H
|