filemanager/src/fmbkupenginewrapper/inc/filemanagerprivatecrkeys.h
branchRCL_3
changeset 20 491b3ed49290
equal deleted inserted replaced
19:95243422089a 20:491b3ed49290
       
     1 /*
       
     2  * Copyright (c) 2009 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  * 
       
    15  * Description:
       
    16  *      The header file of the backup const configuration
       
    17  */
       
    18 
       
    19 
       
    20 #ifndef FILEMANAGERPRIVATECRKEYS_H
       
    21 #define FILEMANAGERPRIVATECRKEYS_H
       
    22 
       
    23 
       
    24 /** File manager repository uid */
       
    25 const TUid KCRUidFileManagerSettings = { 0x1020506B };
       
    26 
       
    27 /** Defines the backup content */
       
    28 const TUint32 KFileManagerBackupContent = 0x1;
       
    29 
       
    30 /** Defines the backup scheduling mode */
       
    31 const TUint32 KFileManagerBackupScheduling = 0x2;
       
    32 
       
    33 /** Contains the possible values of KFileManagerBackupScheduling key. */
       
    34 enum TFileManagerBackupSchedule
       
    35     {
       
    36     EFileManagerBackupScheduleNone = 0,
       
    37     EFileManagerBackupScheduleDaily,
       
    38     EFileManagerBackupScheduleWeekly
       
    39     };
       
    40 
       
    41 /** Defines the scheduled backup weekday. See day definitions from TDay.
       
    42  * Negative value means the first day of the week.
       
    43  */
       
    44 const TUint32 KFileManagerBackupDay = 0x3;
       
    45 
       
    46 /** Defines the scheduled backup time in minutes starting from 00:00 midnight */
       
    47 const TUint32 KFileManagerBackupTime = 0x4;
       
    48 
       
    49 /** Defines the backup target path as string */
       
    50 const TUint32 KFileManagerBackupTargetPath = 0x5;
       
    51 
       
    52 /** Defines the status of the last scheduled backup */
       
    53 const TUint32 KFileManagerLastSchBackupStatus = 0x6;
       
    54 
       
    55 /** Contains the possible values of KFileManagerLastSchBackupStatus key. */
       
    56 enum TFileManagerSchBackupStatus
       
    57     {
       
    58     EFileManagerSchBackupStatusOk = 0,
       
    59     EFileManagerSchBackupStatusFailed,
       
    60     EFileManagerSchBackupStatusStarting,
       
    61     EFileManagerSchBackupStatusInProgress,
       
    62     EFileManagerSchBackupStatusCanceled
       
    63     };
       
    64 
       
    65 /** Defines file manager local variation configuration */
       
    66 const TUint32 KFileManagerFeatures = 0x7;
       
    67 
       
    68 /** Contains the possible bitmask values of KFileManagerFeatures key. */
       
    69 enum TFileManagerFeatures
       
    70     {
       
    71     EFileManagerFeatureBackupAllowAllDrives = 0x1,
       
    72     EFileManagerFeatureNotUsedAnymore = 0x2,
       
    73     EFileManagerFeatureRightLeftNaviSupported = 0x4,
       
    74     EFileManagerFeatureScheduledBackupDisabled = 0x8
       
    75     };
       
    76 
       
    77 /** Defines the file manager application to be launched for the AIW service.
       
    78 The value of this key is an application UID or zero. */
       
    79 const TUint32 KFileManagerAppUidForAiwService = 0x8;
       
    80 
       
    81 /** Defines default volume name for non user nameable mass storage. 
       
    82 The default name will be used after format only if the stored volume name is undefined 
       
    83 for the drive. The name is visible only in Windows Explorer during USB mass storage mode and 
       
    84 in 3rd party File Manager(s). */
       
    85 const TUint32 KFileManagerDefaultInternalMassStorageVolumeName = 0x9;
       
    86 
       
    87 /** Defines a store for keeping existing non user nameable mass storage volume name over 
       
    88 format operation. The data is stored in binary as TFileManagerVolumeNameStore. */
       
    89 const TUint32 KFileManagerStoredInternalMassStorageVolumeName = 0xA;
       
    90 
       
    91 enum TFileManagerBkupStatusType
       
    92     {
       
    93     EFileManagerBkupStatusUnset   = 0x00000000,
       
    94     EFileManagerBkupStatusBackup  = 0x00000001,
       
    95     EFileManagerBkupStatusRestore = 0x00000002
       
    96     };
       
    97 
       
    98 #endif // FILEMANAGERPRIVATECRKEYS_H
       
    99 
       
   100 // End of File