summaryrefslogtreecommitdiff
path: root/src/libs/qmljs/qmljsmodelmanagerinterface.h
diff options
context:
space:
mode:
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;