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:
Nikolai Kosjar
2014-02-19 11:39:06 -03:00
parent 54471bc3f4
commit c2803b00be
7 changed files with 63 additions and 1 deletions

View File

@@ -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);