forked from qt-creator/qt-creator
CppTools: Allow to force a "Parsing" notification
Task-number: QTCREATORBUG-9597 Change-Id: I726a818c7d4af35dcb4863f74b08cd639a189bdd Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
@@ -117,6 +117,12 @@ class CPPTOOLS_EXPORT CppModelManagerInterface : public QObject
|
||||
|
||||
public:
|
||||
|
||||
// Documented in source file.
|
||||
enum ProgressNotificationMode {
|
||||
ForcedProgressNotification,
|
||||
ReservedProgressNotification
|
||||
};
|
||||
|
||||
class CPPTOOLS_EXPORT ProjectInfo
|
||||
{
|
||||
public:
|
||||
@@ -251,8 +257,10 @@ Q_SIGNALS:
|
||||
void projectPartsUpdated(ProjectExplorer::Project *project);
|
||||
|
||||
public Q_SLOTS:
|
||||
|
||||
virtual void updateModifiedSourceFiles() = 0;
|
||||
virtual QFuture<void> updateSourceFiles(const QStringList &sourceFiles) = 0;
|
||||
virtual QFuture<void> updateSourceFiles(const QStringList &sourceFiles,
|
||||
ProgressNotificationMode mode = ReservedProgressNotification) = 0;
|
||||
virtual void GC() = 0;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user