--- a/emailservices/emailstore/message_store/server/src/MessageStoreServer.cpp Thu Aug 19 09:38:05 2010 +0300
+++ b/emailservices/emailstore/message_store/server/src/MessageStoreServer.cpp Tue Aug 31 15:04:17 2010 +0300
@@ -26,8 +26,8 @@
#include <driveinfo.h>
#include <s32file.h>
-#include "msgstoretypes.h"
-#include "msgstorepropertykeys.h"
+#include "MsgStoreTypes.h"
+#include "MsgStorePropertyKeys.h"
#include "emailstoreuids.hrh"
#include "MessageStoreServer.h"
#include "MessageStoreSession.h"
@@ -38,7 +38,7 @@
#include "ImsPointsecMonitor.h"
#include "ImsPointsecObserver.h"
#include "emailstorepskeys.h" // Support for on-the-fly upgrade
-#include "emailshutdownconst.h"
+//<qmail> removing #include "emailshutdownconst.h"
//</cmail>
// =========
@@ -318,19 +318,9 @@
// Support for on-the-fly upgrade
// Watch for KProperty_EmailStore_Upgrade property. When set to our UID3/SECUREID,
// then, this server should stop.
- RProcess process;
- CleanupClosePushL( process ); //+process
- TSecurityPolicy readPolicy( ECapabilityReadDeviceData );
- TSecurityPolicy writePolicy( ECapabilityWriteDeviceData );
- iUpgradePropertyWatcher = CPSIntPropertyWatcher::NewL( this );
- iUpgradePropertyWatcher->StartL( KEmailShutdownPsCategory,
- EEmailPsKeyShutdownMsgStore,
- KEmailShutterPsValue,
- /*ETrue*/EFalse,
- readPolicy,
- writePolicy );
- CleanupStack::PopAndDestroy(); //-process
-
+
+ // <qmail> removed code to observe shutdown commands
+
__LOG_EXIT
} // end ConstructL
@@ -379,10 +369,10 @@
// A new session is being created
// Cancel the shutdown timer if it was running
// ==========================================================================
-void CMessageStoreServer::AddSession( CMessageStoreSession* aSession )
+void CMessageStoreServer::AddSessionL( CMessageStoreSession* aSession )
{
__LOG_ENTER( "AddSession" )
- iSessions.Append( aSession );
+ iSessions.AppendL( aSession );
// notify new session of current state
TMsgStoreEvent event;