diff -r 11d3954df52a -r 627c4a0fd0e7 src/hbservers/hbsplashgenerator/hbsplashgenerator_p.h --- a/src/hbservers/hbsplashgenerator/hbsplashgenerator_p.h Thu May 27 13:10:59 2010 +0300 +++ b/src/hbservers/hbsplashgenerator/hbsplashgenerator_p.h Fri Jun 11 13:58:22 2010 +0300 @@ -56,6 +56,11 @@ void start(bool forceRegen); + HbMainWindow *ensureMainWindow(); + bool lockMainWindow(); + void unlockMainWindow(); + static void setStatusBarElementsVisible(HbMainWindow *mw, bool visible); + signals: void regenerateStarted(); void outputDirContentsUpdated(const QString &dir, const QStringList &entries); @@ -106,7 +111,6 @@ }; private: - void ensureMainWindow(); void takeScreenshot(); void cleanup(); QImage renderView(); @@ -119,12 +123,13 @@ void setupAppSpecificWindow(); void setupNameBasedWidgetProps(HbDocumentLoader &loader); void finishWindow(); - void setStatusBarElementsVisible(bool visible); void addTranslator(const QString &name); void clearTranslators(); int updateOutputDirContents(const QString &outDir); + void unlockMainWindowInternal(); - bool mBusy; + bool mMainWindowLocked; + bool mProcessQueuePending; bool mForceRegen; HbMainWindow *mMainWindow; QQueue mQueue; @@ -137,6 +142,6 @@ QFileSystemWatcher mFsWatcher; }; -QDebug operator<<(QDebug dbg, const HbSplashGenerator::QueueItem& item); +QDebug operator<<(QDebug dbg, const HbSplashGenerator::QueueItem &item); #endif // HBSPLASHGENERATOR_P_H