aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/haskell/haskellmanager.h
blob: 862f46460f127a9b49a60e71518c94032eed7e29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// 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 <QObject>

#include <utils/fileutils.h>

namespace Haskell::Internal {

class HaskellManager
{
public:
    static HaskellManager *instance();

    static Utils::FilePath findProjectDirectory(const Utils::FilePath &filePath);
    static void openGhci(const Utils::FilePath &haskellFile);
};

} // Haskell::Internal