forked from qt-creator/qt-creator
CppTools: Avoid self-include
...in CPlusPlus::Document due to cyclic includes. Task-number: QTCREATORBUG-11457 Change-Id: I1ca19c901c26d9984d795a61879dd6b41c57096c Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
This commit is contained in:
@@ -42,6 +42,7 @@ class Document;
|
||||
class Snapshot;
|
||||
}
|
||||
namespace Core { class IEditor; }
|
||||
namespace TextEditor { class BaseTextEditor; }
|
||||
|
||||
namespace CppTools {
|
||||
namespace Tests {
|
||||
@@ -69,6 +70,7 @@ public:
|
||||
~TestCase();
|
||||
|
||||
bool succeededSoFar() const;
|
||||
bool openBaseTextEditor(const QString &fileName, TextEditor::BaseTextEditor **editor);
|
||||
void closeEditorAtEndOfTestCase(Core::IEditor *editor);
|
||||
|
||||
static bool closeEditorWithoutGarbageCollectorInvocation(Core::IEditor *editor);
|
||||
|
||||
Reference in New Issue
Block a user