|         |      1 /* | 
|         |      2 * Copyright (c) 2006-2008 Nokia Corporation and/or its subsidiary(-ies). | 
|         |      3 * All rights reserved. | 
|         |      4 * This component and the accompanying materials are made available | 
|         |      5 * under the terms of "Eclipse Public License v1.0"" | 
|         |      6 * which accompanies this distribution, and is available | 
|         |      7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". | 
|         |      8 * | 
|         |      9 * Initial Contributors: | 
|         |     10 * Nokia Corporation - initial contribution. | 
|         |     11 * | 
|         |     12 * Contributors: | 
|         |     13 * | 
|         |     14 * Description:  Private Central Repository definitions of the | 
|         |     15 *                File Manager subsystem | 
|         |     16 * | 
|         |     17 */ | 
|         |     18  | 
|         |     19  | 
|         |     20  | 
|         |     21 #ifndef FILEMANAGERPRIVATECRKEYS_H | 
|         |     22 #define FILEMANAGERPRIVATECRKEYS_H | 
|         |     23  | 
|         |     24  | 
|         |     25 /** File manager repository uid */ | 
|         |     26 const TUid KCRUidFileManagerSettings = { 0x1020506B }; | 
|         |     27  | 
|         |     28 /** Defines the backup content */ | 
|         |     29 const TUint32 KFileManagerBackupContent = 0x1; | 
|         |     30  | 
|         |     31 /** Contains the possible bitmask values of KFileManagerBackupContent key. */ | 
|         |     32 enum TFileManagerBackupContentMask | 
|         |     33     { | 
|         |     34     EFileManagerBackupContentAll = 0x1, | 
|         |     35     EFileManagerBackupContentSettings = 0x2, | 
|         |     36     EFileManagerBackupContentMessages = 0x4, | 
|         |     37     EFileManagerBackupContentContacts = 0x8, | 
|         |     38     EFileManagerBackupContentCalendar = 0x10, | 
|         |     39     EFileManagerBackupContentBookmarks = 0x20, | 
|         |     40     EFileManagerBackupContentUserFiles = 0x40, | 
|         |     41     EFileManagerBackupContentFirst = 0x2, | 
|         |     42     EFileManagerBackupContentLast = 0x40 | 
|         |     43     }; | 
|         |     44  | 
|         |     45 /** Defines the backup scheduling mode */ | 
|         |     46 const TUint32 KFileManagerBackupScheduling = 0x2; | 
|         |     47  | 
|         |     48 /** Contains the possible values of KFileManagerBackupScheduling key. */ | 
|         |     49 enum TFileManagerBackupSchedule | 
|         |     50     { | 
|         |     51     EFileManagerBackupScheduleNone = 0, | 
|         |     52     EFileManagerBackupScheduleDaily, | 
|         |     53     EFileManagerBackupScheduleWeekly | 
|         |     54     }; | 
|         |     55  | 
|         |     56 /** Defines the scheduled backup weekday. See day definitions from TDay. | 
|         |     57  * Negative value means the first day of the week. | 
|         |     58  */ | 
|         |     59 const TUint32 KFileManagerBackupDay = 0x3; | 
|         |     60  | 
|         |     61 /** Defines the scheduled backup time in minutes starting from 00:00 midnight */ | 
|         |     62 const TUint32 KFileManagerBackupTime = 0x4; | 
|         |     63  | 
|         |     64 /** Defines the backup target path as string */ | 
|         |     65 const TUint32 KFileManagerBackupTargetPath = 0x5; | 
|         |     66  | 
|         |     67 /** Defines the status of the last scheduled backup */ | 
|         |     68 const TUint32 KFileManagerLastSchBackupStatus = 0x6; | 
|         |     69  | 
|         |     70 /** Contains the possible values of KFileManagerLastSchBackupStatus key. */ | 
|         |     71 enum TFileManagerSchBackupStatus | 
|         |     72     { | 
|         |     73     EFileManagerSchBackupStatusOk = 0, | 
|         |     74     EFileManagerSchBackupStatusFailed, | 
|         |     75     EFileManagerSchBackupStatusStarting, | 
|         |     76     EFileManagerSchBackupStatusInProgress, | 
|         |     77     EFileManagerSchBackupStatusCanceled | 
|         |     78     }; | 
|         |     79  | 
|         |     80 /** Defines file manager local variation configuration */ | 
|         |     81 const TUint32 KFileManagerFeatures = 0x7; | 
|         |     82  | 
|         |     83 /** Contains the possible bitmask values of KFileManagerFeatures key. */ | 
|         |     84 enum TFileManagerFeatures | 
|         |     85     { | 
|         |     86     EFileManagerFeatureBackupAllowAllDrives = 0x1, | 
|         |     87     EFileManagerFeatureNotUsedAnymore = 0x2, | 
|         |     88     EFileManagerFeatureRightLeftNaviSupported = 0x4, | 
|         |     89     EFileManagerFeatureScheduledBackupDisabled = 0x8, | 
|         |     90     EFileManagerFeatureOwnFastScrollDisabled = 0x10 | 
|         |     91     }; | 
|         |     92  | 
|         |     93 /** Defines the file manager application to be launched for the AIW service. | 
|         |     94 The value of this key is an application UID or zero. */ | 
|         |     95 const TUint32 KFileManagerAppUidForAiwService = 0x8; | 
|         |     96  | 
|         |     97 /** Defines default volume name for non user nameable mass storage.  | 
|         |     98 The default name will be used after format only if the stored volume name is undefined  | 
|         |     99 for the drive. The name is visible only in Windows Explorer during USB mass storage mode and  | 
|         |    100 in 3rd party File Manager(s). */ | 
|         |    101 const TUint32 KFileManagerDefaultInternalMassStorageVolumeName = 0x9; | 
|         |    102  | 
|         |    103 /** Defines a store for keeping existing non user nameable mass storage volume name over  | 
|         |    104 format operation. The data is stored in binary as TFileManagerVolumeNameStore. */ | 
|         |    105 const TUint32 KFileManagerStoredInternalMassStorageVolumeName = 0xA; | 
|         |    106  | 
|         |    107 #endif // FILEMANAGERPRIVATECRKEYS_H | 
|         |    108  | 
|         |    109 // End of File |