equal
deleted
inserted
replaced
23 #include <e32base.h> |
23 #include <e32base.h> |
24 #include <msvapi.h> |
24 #include <msvapi.h> |
25 #include <data_caging_path_literals.hrh> |
25 #include <data_caging_path_literals.hrh> |
26 #include <AknsUtils.h> |
26 #include <AknsUtils.h> |
27 #include <eikdialg.h> |
27 #include <eikdialg.h> |
28 #include <obexutils.rsg> |
28 #include <Obexutils.rsg> |
29 |
29 |
30 // CONSTANTS |
30 // CONSTANTS |
31 |
31 |
32 const TUid KUidMsgTypeBt = {0x10009ED5}; |
32 const TUid KUidMsgTypeBt = {0x10009ED5}; |
33 const TInt KObexUtilsMaxChar = 80; |
33 const TInt KObexUtilsMaxChar = 80; |
51 |
51 |
52 enum TContextMedia |
52 enum TContextMedia |
53 { |
53 { |
54 EBluetooth, |
54 EBluetooth, |
55 EInfrared |
55 EInfrared |
|
56 }; |
|
57 |
|
58 /** |
|
59 * Backup status. |
|
60 * The value is controlled by FileManager |
|
61 */ |
|
62 enum TFileManagerBkupStatusType |
|
63 { |
|
64 EFileManagerBkupStatusUnset = 0x00000000, |
|
65 EFileManagerBkupStatusBackup = 0x00000001, |
|
66 EFileManagerBkupStatusRestore = 0x00000002 |
56 }; |
67 }; |
57 |
68 |
58 // CLASS DECLARATION |
69 // CLASS DECLARATION |
59 |
70 |
60 /** |
71 /** |
190 * @param aMedia The used media. |
201 * @param aMedia The used media. |
191 * @param aIconArray The IconArray used by the caller |
202 * @param aIconArray The IconArray used by the caller |
192 */ |
203 */ |
193 IMPORT_C static void CreateIconsL( TUid aMedia, CArrayPtr<CBitmapArray>* aIconArrays); |
204 IMPORT_C static void CreateIconsL( TUid aMedia, CArrayPtr<CBitmapArray>* aIconArrays); |
194 |
205 |
|
206 /** |
|
207 * Checks if backup process is running |
|
208 */ |
|
209 IMPORT_C TBool static IsBackupRunning(); |
195 |
210 |
196 /** |
211 /** |
197 * Prepares dialog for execution |
212 * Prepares dialog for execution |
198 * @param aResourceID Resource ID of the dialog |
213 * @param aResourceID Resource ID of the dialog |
199 * @param aDialog Dialog |
214 * @param aDialog Dialog |
203 /** |
218 /** |
204 * Check if cover display is enabled |
219 * Check if cover display is enabled |
205 * return True if enabled |
220 * return True if enabled |
206 */ |
221 */ |
207 TBool static IsCoverDisplayL(); |
222 TBool static IsCoverDisplayL(); |
|
223 |
|
224 /** |
|
225 * Check if process with given id is active now |
|
226 * return True if is active |
|
227 */ |
|
228 TBool static ProcessExists( const TSecureId& aSecureId ); |
|
229 |
208 /** |
230 /** |
209 * A dummy class for opening CMsvSession. |
231 * A dummy class for opening CMsvSession. |
210 */ |
232 */ |
211 class CDummySessionObserver : public CBase , public MMsvSessionObserver |
233 class CDummySessionObserver : public CBase , public MMsvSessionObserver |
212 { |
234 { |