homesync/contentmanager/cmserver/cmfillmanager/inc/cmfmcommon.h
branchIOP_Improvements
changeset 40 08b5eae9f9ff
parent 39 6369bfd1b60d
child 41 b4d83ea1d6e2
equal deleted inserted replaced
39:6369bfd1b60d 40:08b5eae9f9ff
     1 /*
       
     2 * Copyright (c) 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:  Common header for fill manager
       
    15 *  Version     : %version: tr1ido#7 % << Don't touch!
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef CMFMCOMMON_H
       
    21 #define CMFMCOMMON_H
       
    22 
       
    23 // Fill temp file
       
    24 _LIT( KCmFmTempFile, "cm_temp" );
       
    25 
       
    26 
       
    27 // Status codes used in Fill Manager
       
    28 enum TCmFmStatus
       
    29     {
       
    30     ECmFmNULL = 0,
       
    31     ECmFmFillRuleProgessingStarted, // Rule processing started
       
    32     ECmFmFillRulesReady,            // Not used at the moment
       
    33     ECmFmMMCCheckStarted,           // memory card check starting
       
    34     ECmFmDeviceListingStarted,      // Not used at the moment
       
    35     ECmFmWrongMMC,                  // Wrong memory card found
       
    36     ECmFmMMCOk,                     // Memory ok
       
    37     ECmFmMMCCheckFailed,            // Memory checking failed
       
    38     ECmFmNoConnection,              // Not used at the moment 
       
    39     ECmFmConnectionLost,            // Not used at the moment 
       
    40     ECmFmStartUriCheck,             // Starting Uri check
       
    41     ECmFmDeleteFiles,               // Starting delete files
       
    42     ECmFmShrinkImage,               // Starting shrink images
       
    43     ECmFmBrowseReady,               // Browse to check uri ready
       
    44     ECmFmUriOK,                     // Uri ok
       
    45     ECmFmCheckItem                  // Starting check item
       
    46     };
       
    47 
       
    48 // File transfer statuses
       
    49 enum TCmFmTransferStatus
       
    50     {
       
    51     ECmFmFileFetchStarted = 20,     // File copy started
       
    52     ECmFmFileFetched                // File copied
       
    53     };  
       
    54 
       
    55 // Uri check statuses    
       
    56 enum TCmFmUriCheckResult
       
    57     {
       
    58     ECanceled = 25,                 // Operation canceled
       
    59     ENoUriAvailable,                // Uri not available
       
    60     EUriChecked                     // Uri checked
       
    61     };
       
    62 
       
    63 // Fill list processing statuses    
       
    64 enum TCmFmFillRuleProcessing 
       
    65     {
       
    66     EProcessingStarted = 60,        // Fill rule processing started
       
    67     EProcessing,                    // Processing on-going
       
    68     EProcessingReady,               // Processing ready
       
    69     EQueryCompleted,                // Metadata query completed
       
    70     EQueryFailed,                   // Metadata query failed
       
    71     ENextFillRule,                  // Processing next rule
       
    72     EFillRulesLoaded,               // Fill rules loaded
       
    73     ENoRulesSelected,               // Rules selected
       
    74     ENoObjectsSelected,             // Fill objects selected
       
    75     EProcessingCanceled,            // Canceled
       
    76     EPreProcessingStarted,          // Preprocessing started
       
    77     EFillFilesLoaded,               // Files loaded
       
    78     EProcessStatusValues,           // Processing file statuses
       
    79     ERandomizingStarted,            // Randomizing list
       
    80     EColumnDataReady,               // Property columns got
       
    81     EProcessDuplicates,             // Processing duplicate files
       
    82     EProcessReferenceValues,        // Processing reference files end
       
    83     EProcessingFailed,              // Processing failed
       
    84     EUpdatePriorities,              // Updating fill list priorities
       
    85     EDoUpdatePriorities,            // Do update priorities
       
    86     EMetadataDeleted                // Metadata deleted
       
    87     };    
       
    88     
       
    89 #endif // CMFMCOMMON_H
       
    90 
       
    91 // end of file