aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/qmljs/qmljsmodelmanagerinterface.h
diff options
context:
space:
mode:
authorThomas Hartmann <[email protected]>2014-06-26 13:52:36 +0200
committerFawzi Mohamed <[email protected]>2014-06-26 17:49:28 +0200
commit2aa7df6dff4725c42fe983f100289c700702a50c (patch)
tree14314c7fade3a9d4eeb9dd407789e26365708254 /src/libs/qmljs/qmljsmodelmanagerinterface.h
parentbafe7dbb0bb4622e98f7c3dbb9201a5c92f066b1 (diff)
QmlJS: Move ensuredGetDocumentForPath to ModelManagerInterface
The new function does properly update the latest snapshot. Change-Id: If3148701e2f98c39a0822d1395b43f4fa7ee1949 Reviewed-by: Fawzi Mohamed <[email protected]>
Diffstat (limited to 'src/libs/qmljs/qmljsmodelmanagerinterface.h')
-rw-r--r--src/libs/qmljs/qmljsmodelmanagerinterface.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libs/qmljs/qmljsmodelmanagerinterface.h b/src/libs/qmljs/qmljsmodelmanagerinterface.h
index 425f7bc2eb1..6e53c21746f 100644
--- a/src/libs/qmljs/qmljsmodelmanagerinterface.h
+++ b/src/libs/qmljs/qmljsmodelmanagerinterface.h
@@ -199,6 +199,9 @@ public:
// Blocks until all parsing threads are done. Used for testing.
void joinAllThreads();
+
+ QmlJS::Document::Ptr ensuredGetDocumentForPath(const QString &filePath);
+
public slots:
virtual void resetCodeModel();
void removeProjectInfo(ProjectExplorer::Project *project);