diff -r a4d6f1ea0416 -r e7aa27f58ae1 emailservices/emailservermonitor/inc/emailshutter.h --- a/emailservices/emailservermonitor/inc/emailshutter.h Tue Jan 26 11:45:42 2010 +0200 +++ b/emailservices/emailservermonitor/inc/emailshutter.h Tue Feb 02 00:02:40 2010 +0200 @@ -34,6 +34,7 @@ // Security policies used when defining P&S keys static _LIT_SECURITY_POLICY_PASS(KAllowAllPolicy); static _LIT_SECURITY_POLICY_C1(KPowerMgmtPolicy,ECapabilityPowerMgmt); +static _LIT_SECURITY_POLICY_C1(KWriteDeviceDataPolicy,ECapabilityWriteDeviceData); // Value to be set in shutdown P&S key. const TInt KEmailShutterPsValue = 1; @@ -234,6 +235,12 @@ void WaitInCycles( const TInt aMaxWaitTime, const TEmailShutterKillingMode aMode ); + /** + * Reads platform API process UIDs from Publish and Subscribe key to + * internal array + */ + void ReadPlatformApiUidsL(); + private: // Member variables /** @@ -242,6 +249,11 @@ RProperty iInstStatusProperty; /** + * List of UIDs of the processes that are using platform API + */ + RArray iPlatformApiAppsToClose; + + /** * Pointer to Email Server Monitor * Not owned */