--- a/activityfw/activitydatabase/hsactivitydbserver/src/main.cpp Fri Apr 16 15:16:09 2010 +0300
+++ b/activityfw/activitydatabase/hsactivitydbserver/src/main.cpp Mon May 03 12:48:45 2010 +0300
@@ -20,15 +20,22 @@
#include "hsactivityserver.h"
#include "hsactivitystorage.h"
-
+#ifdef Q_OS_SYMBIAN
+#include <coemain.h>
+#include <coedef.h>
+#endif
int main(int argc, char *argv[])
{
+#ifdef Q_OS_SYMBIAN
+ CCoeEnv::Static()->RootWin().SetOrdinalPosition(0, ECoeWinPriorityNeverAtFront);
+#endif
+
QCoreApplication app(argc, argv);
HsActivityStorage storage;
HsActivityServer server(storage);
int retVal(KErrGeneral);
- if( server.start() ){
+ if (server.start()) {
retVal = app.exec();
}
return retVal;