summaryrefslogtreecommitdiff
path: root/src/plugins/cppeditor/editordocumenthandle.cpp
blob: fe1638f85a212f739b4b115809096d5408a358b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

#include "editordocumenthandle.h"

namespace CppEditor {

/*!
    \class CppEditor::EditorDocumentHandle

    \brief The EditorDocumentHandle class provides an interface to an opened
           C++ editor document.
*/

CppEditorDocumentHandle::~CppEditorDocumentHandle() = default;

CppEditorDocumentHandle::RefreshReason CppEditorDocumentHandle::refreshReason() const
{
    return m_refreshReason;
}

void CppEditorDocumentHandle::setRefreshReason(const RefreshReason &refreshReason)
{
    m_refreshReason = refreshReason;
}

} // namespace CppEditor