aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cppeditor/editordocumenthandle.cpp
blob: 89b20f2ef3f3c8717317d0fab445bb8e7551cc45 (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
28
29
30
31
32
// 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;

SendDocumentTracker &CppEditorDocumentHandle::sendTracker()
{
    return m_sendTracker;
}

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

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

} // namespace CppEditor