filemanager/bkupengine/inc/MMMCScBkupEngineObserver.h
changeset 0 6a9f87576119
equal deleted inserted replaced
-1:000000000000 0:6a9f87576119
       
     1 /*
       
     2 * Copyright (c) 2002 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: Declaration for MMMCScBkupEngineObserver
       
    15 *     
       
    16 *
       
    17 */
       
    18 
       
    19 #ifndef __MMMCSCBKUPENGINEOBSERVER_H__
       
    20 #define __MMMCSCBKUPENGINEOBSERVER_H__
       
    21 
       
    22 /**
       
    23 *
       
    24 *
       
    25 * @since 3.0
       
    26 */
       
    27 class MMMCScBkupEngineObserver
       
    28     {
       
    29     public:
       
    30 
       
    31         /**
       
    32         *
       
    33         */
       
    34         enum TEvent
       
    35             {
       
    36             // COMMON
       
    37             ECommonEventFirst = 0,
       
    38             ECommonOperationStarting = ECommonEventFirst,
       
    39             ECommonSizeOfTaskUnderstood,
       
    40             ECommonOperationPrepareEnded,
       
    41             ECommonOperationEnded,
       
    42             ECommonOperationError,
       
    43             ECommonProgress,
       
    44             ECommonEventLast,
       
    45 
       
    46             // BACKUP
       
    47             EBackupEventFirst = 100,
       
    48             EBackupAnalysingData,
       
    49             EBackupEventLast,
       
    50 
       
    51             // RESTORE
       
    52             ERestoreEventFirst = 200,
       
    53             ERestoreEventLast
       
    54             };
       
    55 
       
    56     public: // From MMMCScBkupEngineObserver
       
    57 
       
    58         /**
       
    59         *
       
    60         */
       
    61         virtual TInt HandleBkupEngineEventL(TEvent aEvent, TInt aAssociatedData) = 0;
       
    62 
       
    63     };
       
    64 
       
    65 
       
    66 #endif // __MMMCSCBKUPENGINEOBSERVER_H__
       
    67 
       
    68 //End of File