forked from qt-creator/qt-creator
Add "delayedInitialize" feature to plugin manager.
And use it for some of the plugins. It avoids the plugins to do the timing on their own, and actually adds guarantees about the order the delayed initialization is done. Change-Id: I88ad9b46b24b82c91509774170fe0e7e99e88e4b Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
@@ -50,10 +50,11 @@ public:
|
||||
CorePlugin();
|
||||
~CorePlugin();
|
||||
|
||||
virtual bool initialize(const QStringList &arguments, QString *errorMessage = 0);
|
||||
virtual void extensionsInitialized();
|
||||
virtual ShutdownFlag aboutToShutdown();
|
||||
virtual void remoteCommand(const QStringList & /* options */, const QStringList &args);
|
||||
bool initialize(const QStringList &arguments, QString *errorMessage = 0);
|
||||
void extensionsInitialized();
|
||||
bool delayedInitialize();
|
||||
ShutdownFlag aboutToShutdown();
|
||||
void remoteCommand(const QStringList & /* options */, const QStringList &args);
|
||||
|
||||
public slots:
|
||||
void fileOpenRequest(const QString&);
|
||||
|
||||
Reference in New Issue
Block a user