2023-01-27 14:44:20 +01:00
|
|
|
// Copyright (c) 2017 The Qt Company Ltd.
|
|
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
2023-01-19 17:34:40 +01:00
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <QObject>
|
|
|
|
|
|
|
|
|
|
#include <utils/fileutils.h>
|
|
|
|
|
|
2023-05-15 15:15:17 +02:00
|
|
|
namespace Haskell::Internal {
|
2023-01-19 17:34:40 +01:00
|
|
|
|
2023-05-15 15:15:17 +02:00
|
|
|
class HaskellManager
|
2023-01-19 17:34:40 +01:00
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
static HaskellManager *instance();
|
|
|
|
|
|
|
|
|
|
static Utils::FilePath findProjectDirectory(const Utils::FilePath &filePath);
|
|
|
|
|
static void openGhci(const Utils::FilePath &haskellFile);
|
|
|
|
|
};
|
|
|
|
|
|
2023-05-15 15:15:17 +02:00
|
|
|
} // Haskell::Internal
|