aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/haskell/filecache.h
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2019-10-24 12:03:52 +0200
committerEike Ziller <eike.ziller@qt.io>2019-10-24 12:31:14 +0000
commitd59eb32ce6271f8f7069b4d526ba767ae59c8aed (patch)
tree5a36f4ba921cac301751d05d91d7b0eefaa66340 /plugins/haskell/filecache.h
parent126fe0fa0b58e3d70ca1109336f784d5659c846f (diff)
Remove support for ghc-mod
ghc-mod is no longer active and doesn't even compile against newer GHC versions. Use haskell-ide-engine and Qt Creator's language protocol client instead. Change-Id: I5776ec8375c732b8066d09e629148ae222e981c5 Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'plugins/haskell/filecache.h')
-rw-r--r--plugins/haskell/filecache.h61
1 files changed, 0 insertions, 61 deletions
diff --git a/plugins/haskell/filecache.h b/plugins/haskell/filecache.h
deleted file mode 100644
index 3c53d40..0000000
--- a/plugins/haskell/filecache.h
+++ /dev/null
@@ -1,61 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2017 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of Qt Creator.
-**
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-****************************************************************************/
-
-#pragma once
-
-#include <utils/fileutils.h>
-#include <utils/temporarydirectory.h>
-
-#include <QHash>
-
-#include <functional>
-
-namespace Core { class IDocument; }
-
-namespace Haskell {
-namespace Internal {
-
-class FileCache
-{
-public:
- FileCache(const QString &id,
- const std::function<QList<Core::IDocument *>()> &documentsToUpdate);
-
- void update();
- QHash<Utils::FilePath, Utils::FilePath> fileMap() const;
-
-private:
- void writeFile(Core::IDocument *document);
- void cleanUp(const QList<Core::IDocument *> &documents);
- Utils::FilePath createCacheFile(const Utils::FilePath &filePath);
-
- Utils::TemporaryDirectory m_tempDir;
- QHash<Utils::FilePath, Utils::FilePath> m_fileMap;
- QHash<Utils::FilePath, int> m_fileRevision;
- std::function<QList<Core::IDocument *>()> m_documentsToUpdate;
-};
-
-} // namespace Internal
-} // namespace Haskell