filemanager/src/fmbkupengine/inc/BkupEngine.hrh
branchRCL_3
changeset 20 491b3ed49290
equal deleted inserted replaced
19:95243422089a 20:491b3ed49290
       
     1 /*
       
     2 * Copyright (c) 2004-2007 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: 
       
    15 *     FileManager / FileManagerBkupEngine constants.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 #ifndef __BAENGINE_HRH__
       
    22 #define __BAENGINE_HRH__
       
    23 
       
    24 // Partial backup categories bitmask values
       
    25 enum MAEngineBackupCategories
       
    26     {
       
    27     EBUCatSettings = 0x1,
       
    28     EBUCatMessages = 0x2,
       
    29     EBUCatContacts = 0x4,
       
    30     EBUCatCalendar = 0x8,
       
    31     EBUCatBookmarks = 0x10,
       
    32     EBUCatUserFiles = 0x20,
       
    33     EBUCatAllInOne = 0x8000000,
       
    34     EBUCatAllSeparately = 0x7FFFFFF 
       
    35     // Set as 0xFFFFFFF (EBUCatAllInOne+EBUCatAllSeparately) if archive containing 
       
    36     // data from all data owners needs to be created.
       
    37     };
       
    38 
       
    39 // Bitmask values for special ruling of which category data owner belongs to
       
    40 #define EBUCatSpecNone      0x0              
       
    41 #define EBUCatSpecSystem    0x1
       
    42 #define EBUCatSpecJava      0x2
       
    43 #define EBUCatSpecPublic    0x4
       
    44 #define EBUCatSpecAll       0x8
       
    45 
       
    46 #ifndef RD_MULTIPLE_DRIVE
       
    47 
       
    48 // Drive list enumeration - see TDriveNumber
       
    49 // (these must match F32's TDriveNumber exactly)
       
    50 enum TMMCDriveNumber
       
    51     {
       
    52     EMMCDriveNumberA = 0,
       
    53     EMMCDriveNumberB,
       
    54     EMMCDriveNumberC,
       
    55     EMMCDriveNumberD,
       
    56     EMMCDriveNumberE,
       
    57     EMMCDriveNumberF,
       
    58     EMMCDriveNumberG,
       
    59     EMMCDriveNumberH,
       
    60     EMMCDriveNumberI,
       
    61     EMMCDriveNumberJ,
       
    62     EMMCDriveNumberK,
       
    63     EMMCDriveNumberL,
       
    64     EMMCDriveNumberM,
       
    65     EMMCDriveNumberN,
       
    66     EMMCDriveNumberO,
       
    67     EMMCDriveNumberP,
       
    68     EMMCDriveNumberQ,
       
    69     EMMCDriveNumberR,
       
    70     EMMCDriveNumberS,
       
    71     EMMCDriveNumberT,
       
    72     EMMCDriveNumberU,
       
    73     EMMCDriveNumberV,
       
    74     EMMCDriveNumberW,
       
    75     EMMCDriveNumberX,
       
    76     EMMCDriveNumberY,
       
    77     EMMCDriveNumberZ
       
    78     };
       
    79 
       
    80 #else // RD_MULTIPLE_DRIVE
       
    81 
       
    82 // Defines drive caterories for multiple drives to setup backup sources and restore targets
       
    83 #define EBkupDeviceMemories       0x1
       
    84 #define EBkupInternalMassStorages 0x2
       
    85 #define EBkupExternalMassStorages 0x4
       
    86 
       
    87 #endif // RD_MULTIPLE_DRIVE
       
    88 
       
    89 #endif // __BAENGINE_HRH__
       
    90 
       
    91 // End of File