summaryrefslogtreecommitdiff
path: root/src/plugins/cmakeprojectmanager/cmakeformatter.h
blob: 9727c245a50904054661bae6d073887400d05008 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright (C) 2016 Lorenz Haas
// Copyright (C) 2022 Xavier BESSON
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

#pragma once

namespace Core { class IDocument; }

namespace CMakeProjectManager::Internal {

class CMakeFormatter
{
public:
    CMakeFormatter();
    ~CMakeFormatter();

    void applyIfNecessary(Core::IDocument *document) const;

private:
    class CMakeFormatterPrivate *d = nullptr;
};

} // CMakeProjectManager::Internal