summaryrefslogtreecommitdiff
path: root/src/plugins/haskell/haskellrunconfiguration.h
blob: c0c0423d2a08dc56e974ff123e91ed69d1fdb31e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// Copyright (c) 2017 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

#pragma once

#include <projectexplorer/projectexplorerconstants.h>
#include <projectexplorer/runconfigurationaspects.h>
#include <projectexplorer/runcontrol.h>
#include <utils/aspects.h>

namespace Haskell {
namespace Internal {

class HaskellRunConfiguration : public ProjectExplorer::RunConfiguration
{
    Q_OBJECT

public:
    HaskellRunConfiguration(ProjectExplorer::Target *target, Utils::Id id);

private:
    ProjectExplorer::Runnable runnable() const final;
};

class HaskellRunConfigurationFactory : public ProjectExplorer::RunConfigurationFactory
{
public:
    HaskellRunConfigurationFactory();
};

class HaskellExecutableAspect : public Utils::StringAspect
{
    Q_OBJECT

public:
    HaskellExecutableAspect();
};

} // namespace Internal
} // namespace Haskell