Files
qt-creator/src/plugins/haskell/haskellmanager.h
hjk 22fa5f2d3a Haskell: More compact settings/manager setup
Use PagedSettings, move related parts Manager interface there, too.

Change-Id: I079dad8bbbea39d2424a25867b08c34ab0234ad5
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2023-05-16 11:19:14 +00:00

22 lines
475 B
C++

// 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