24 |
24 |
25 |
25 |
26 // Publish & Subscribe category for Email shutdown events |
26 // Publish & Subscribe category for Email shutdown events |
27 const TUid KEmailShutdownPsCategory = { KEmailShutdownUidAsTInt }; |
27 const TUid KEmailShutdownPsCategory = { KEmailShutdownUidAsTInt }; |
28 |
28 |
29 // Publish & Subscribe keys |
29 // Size of one item in platform API UID list (in Publish & Subscribe |
|
30 // key EEmailPsKeyPlatformApiAppsToClose) |
|
31 const TInt KEmailPlatformApiUidItemSize = sizeof( TInt32 ); |
|
32 |
|
33 // Publish & Subscribe keys used in shutdown process |
30 enum TEmailShutdownPsKeys |
34 enum TEmailShutdownPsKeys |
31 { |
35 { |
32 // Publish & Subscribe key used in communication between Shutter |
36 // Publish & Subscribe key used in communication between Shutter |
33 // application and installation initiators |
37 // application and installation initiators |
34 EEmailPsKeyInstallationStatus = 1, |
38 EEmailPsKeyInstallationStatus = 1, |
35 |
39 |
36 // Publish & Subscribe keys for Email shutdown events |
40 // Publish & Subscribe keys for Email shutdown events |
37 EEmailPsKeyShutdownClients, |
41 EEmailPsKeyShutdownClients, |
38 EEmailPsKeyShutdownPlugins, |
42 EEmailPsKeyShutdownPlugins, |
39 EEmailPsKeyShutdownMsgStore |
43 EEmailPsKeyShutdownMsgStore, |
|
44 |
|
45 // Publish & Subscribe keys to register 3rd party applications to be closed |
|
46 EEmailPsKeyPlatformApiAppsToCloseLength, |
|
47 EEmailPsKeyPlatformApiAppsToClose |
40 }; |
48 }; |
41 |
49 |
42 // Publish & Subscribe values to be used with key EEmailPsKeyInstallationStatus |
50 // Publish & Subscribe values to be used with key EEmailPsKeyInstallationStatus |
43 enum TEmailShutdownPsInstallationValues |
51 enum TEmailShutdownPsInstallationValues |
44 { |
52 { |