diff options
Diffstat (limited to 'src/plugins/cpptools/editordocumenthandle.cpp')
-rw-r--r-- | src/plugins/cpptools/editordocumenthandle.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/plugins/cpptools/editordocumenthandle.cpp b/src/plugins/cpptools/editordocumenthandle.cpp index 58d93372ca..9e40aca5b2 100644 --- a/src/plugins/cpptools/editordocumenthandle.cpp +++ b/src/plugins/cpptools/editordocumenthandle.cpp @@ -40,6 +40,7 @@ namespace CppTools { */ EditorDocumentHandle::EditorDocumentHandle() + : m_needsRefresh(false) { } @@ -47,4 +48,14 @@ EditorDocumentHandle::~EditorDocumentHandle() { } +bool EditorDocumentHandle::needsRefresh() const +{ + return m_needsRefresh; +} + +void EditorDocumentHandle::setNeedsRefresh(bool needsRefresh) +{ + m_needsRefresh = needsRefresh; +} + } // namespace CppTools |