44 |
44 |
45 |
45 |
46 // UI Applications to be closed |
46 // UI Applications to be closed |
47 const TUid KApplicationsToClose[] = |
47 const TUid KApplicationsToClose[] = |
48 { |
48 { |
49 KFSEmailUiUid, // Freestyle Email UI |
49 KFSEmailUiUid, // Freestyle Email UI |
50 { SettingWizardUidAsTInt }, // TP Wizard |
50 { SettingWizardUidAsTInt }, // TP Wizard |
51 { KMceAppUid }, // MCE |
51 { KMceAppUid }, // MCE |
52 { KPhoneBookUid }, // Phonebook 1 & 2 |
52 { KPhoneBookUid }, // Phonebook 1 & 2 |
53 { KCalendarAppUid1 } // Calendar |
53 { KCalendarAppUid1 }, // Calendar |
|
54 { KGeneralSettingsAppUidAsTInt }, // General settings |
54 }; |
55 }; |
55 |
56 |
56 // Applications that should not be closed. Should include only system |
57 // Applications that should not be closed. Should include only system |
57 // applications that free the email resources by some other means. |
58 // applications that free the email resources by some other means. |
58 const TUid KApplicationsNotToBeClosed[] = |
59 const TUid KApplicationsNotToBeClosed[] = |
59 { |
60 { |
60 { AI_SID_AIFW_EXE }, // HomeScreen |
61 { AI_SID_AIFW_EXE }, // HomeScreen |
61 { AI_UID3_AIFW_COMMON }, // HomeScreen |
62 { AI_UID3_AIFW_COMMON }, // HomeScreen |
62 }; |
63 }; |
63 |
64 |
64 // Non-UI clients that need to be closed |
65 // Non-UI clients that need to be closed |
65 const TUid KOtherClientsToClose[] = |
66 const TUid KOtherClientsToClose[] = |
66 { |
67 { |
67 { KPcsServerProcessUidAsTInt }, // PCS server |
68 { KPcsServerProcessUidAsTInt }, // PCS server |
68 { FSMailServerUidAsTInt }, // FSMailServer |
69 { FSMailServerUidAsTInt }, // FSMailServer |
69 }; |
70 }; |
70 |
71 |
71 // Plugin processes that need to be closed |
72 // Plugin processes that need to be closed |
72 const TUid KPluginProcessesToClose[] = |
73 const TUid KPluginProcessesToClose[] = |
73 { |
74 { |
74 // MfE plugin |
75 // MfE plugin |
75 { 0x20012BEE }, // KUidEasStartup |
76 { 0x20012BEE }, // KUidEasStartup |
76 { 0x20012BEC }, // KUidEasTarmAccess |
77 { 0x20012BEC }, // KUidEasTarmAccess |
77 { 0x20012BD4 }, // KEasLogSenderServer |
78 { 0x20012BD4 }, // KEasLogSenderServer |
78 { 0x20012BE6 }, // KUidEasServer |
79 { 0x20012BE6 }, // KUidEasServer |
79 // Oz plugin |
80 // Oz plugin |
80 { 0x2002136A }, // monitor |
81 { 0x2002136A }, // monitor |
81 { 0x20021367 }, // server |
82 { 0x20021367 }, // server |
82 }; |
83 }; |
83 |
84 |
84 // Message store processes that need to be closed |
85 // Message store processes that need to be closed |
85 const TUid KMsgStoreProcessesToClose[] = |
86 const TUid KMsgStoreProcessesToClose[] = |
86 { |
87 { |
87 { KUidMessageStoreExe }, // MessageStoreExe.exe |
88 { KUidMessageStoreExe }, // MessageStoreExe.exe |
88 { KUidEmailStorePreInstallExe } // MessageStorePreInstallExe |
89 { KUidEmailStorePreInstallExe } // MessageStorePreInstallExe |
89 }; |
90 }; |
90 |
91 |
91 const TInt KEmailUidExtraBuffer = 2 * KEmailPlatformApiUidItemSize; |
92 const TInt KEmailUidExtraBuffer = 2 * KEmailPlatformApiUidItemSize; |
92 |
93 |
93 // ======== MEMBER FUNCTION DEFINITIONS ======== |
94 // ======== MEMBER FUNCTION DEFINITIONS ======== |