src/hbservers/hbsplashgenerator/main.cpp
changeset 5 627c4a0fd0e7
parent 3 11d3954df52a
child 7 923ff622b8b9
--- a/src/hbservers/hbsplashgenerator/main.cpp	Thu May 27 13:10:59 2010 +0300
+++ b/src/hbservers/hbsplashgenerator/main.cpp	Fri Jun 11 13:58:22 2010 +0300
@@ -28,10 +28,10 @@
 #include <hbapplication.h>
 #include "hbsplashgenerator_p.h"
 #include "hbsplashdefs_p.h"
+#include "hbsplashindicompositor_p.h"
 
 #if defined(Q_OS_SYMBIAN)
 #include "hbsplashgen_server_symbian_p.h"
-#include "hbsplashdefs_p.h"
 #include <e32std.h>
 #include <eikenv.h>
 #include <apgwgnam.h>
@@ -88,7 +88,7 @@
 #endif
 
     // The server must be initialized before calling HbSplashGenerator::start().
-#ifdef Q_OS_SYMBIAN
+#if defined(Q_OS_SYMBIAN)
     qDebug("[hbsplashgenerator] starting server");
     HbSplashGenServer server(&gen);
     // If there was an error then exit right away.
@@ -101,7 +101,10 @@
     qDebug("[hbsplashgenerator] starting generator");
     gen.start(forceRegen);
 
+    HbSplashIndicatorCompositor indiCompositor(&gen);
+
 #if defined(Q_OS_SYMBIAN)
+    server.addCompositor(&indiCompositor);
     if (mutexToSignal) {
         qDebug("[hbsplashgenerator] signaling mutex");
         static_cast<RMutex *>(mutexToSignal)->Signal();