emailservices/emailservermonitor/inc/emailshutter.h
changeset 4 e7aa27f58ae1
parent 0 8466d47a6819
child 10 f5907b1a1053
--- 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<TUid> iPlatformApiAppsToClose;
+    
+    /**
      * Pointer to Email Server Monitor
      * Not owned
      */