summaryrefslogtreecommitdiff
path: root/src/libs/qmljs/qmljsmodelmanagerinterface.h
diff options
context:
space:
mode:
authorFawzi Mohamed <fawzi.mohamed@digia.com>2013-10-16 15:08:27 +0200
committerFawzi Mohamed <fawzi.mohamed@digia.com>2013-11-20 12:26:30 +0100
commite1b44e870f5c15daad136f609df2175278e1f62c (patch)
tree4efbb09cd1c9de50a8e817ee8ed34634cf07fb35 /src/libs/qmljs/qmljsmodelmanagerinterface.h
parent5bf3ed7c6a2904a0dbec76b821e8e48c765c08c7 (diff)
downloadqt-creator-e1b44e870f5c15daad136f609df2175278e1f62c.tar.gz
qmljs: new import/dep tracking
Change-Id: I9f4de2a06aad3afb80372a4b80e56db658683575 Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
Diffstat (limited to 'src/libs/qmljs/qmljsmodelmanagerinterface.h')
-rw-r--r--src/libs/qmljs/qmljsmodelmanagerinterface.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/libs/qmljs/qmljsmodelmanagerinterface.h b/src/libs/qmljs/qmljsmodelmanagerinterface.h
index cdcaef362d..45a7c87991 100644
--- a/src/libs/qmljs/qmljsmodelmanagerinterface.h
+++ b/src/libs/qmljs/qmljsmodelmanagerinterface.h
@@ -33,7 +33,8 @@
#include "qmljs_global.h"
#include "qmljsdocument.h"
#include "qmljsbundle.h"
-
+#include "qmljsconstants.h"
+#include "qmljsviewercontext.h"
#include <utils/environment.h>
#include <QObject>
@@ -175,6 +176,12 @@ public:
virtual LibraryInfo builtins(const Document::Ptr &doc) const = 0;
+ virtual ViewerContext completeVContext(const ViewerContext &vCtx,
+ const Document::Ptr &doc = Document::Ptr(0)) const = 0;
+ virtual ViewerContext defaultVContext(bool autoComplete = true,
+ const Document::Ptr &doc = Document::Ptr(0)) const = 0;
+ virtual void setDefaultVContext(const ViewerContext &vContext) = 0;
+
// Blocks until all parsing threads are done. Used for testing.
virtual void joinAllThreads() = 0;