filemanager/bkupengine/inc/CMMCScBkupStateArchiveOpDataOwners.h
branchRCL_3
changeset 38 491b3ed49290
parent 36 95243422089a
child 39 65326cf895ed
equal deleted inserted replaced
36:95243422089a 38:491b3ed49290
     1 /*
       
     2 * Copyright (c) 2005 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 CMMCScBkupStateArchiveOpDataOwners
       
    15 *     
       
    16 *
       
    17 */
       
    18 
       
    19 #ifndef __CMMCSCBKUPSTATEARCHIVEOPDATAOWNERS_H__
       
    20 #define __CMMCSCBKUPSTATEARCHIVEOPDATAOWNERS_H__
       
    21 
       
    22 // User includes
       
    23 #include "CMMCScBkupStateOpAware.h"
       
    24 
       
    25 
       
    26 /**
       
    27 *
       
    28 *
       
    29 * @since 3.0
       
    30 */
       
    31 NONSHARABLE_CLASS(CMMCScBkupStateArchiveOpDataOwners) : public CMMCScBkupStateOpAware
       
    32     {
       
    33     public:
       
    34 
       
    35         /**
       
    36         * Static constructor
       
    37         */
       
    38         static CMMCScBkupStateArchiveOpDataOwners* NewL( MMMCScBkupDriver& aDriver );
       
    39 
       
    40         /**
       
    41         * C++ destructor
       
    42         */
       
    43         ~CMMCScBkupStateArchiveOpDataOwners();
       
    44 
       
    45     private:
       
    46 
       
    47         /**
       
    48         * C++ default constructor
       
    49         */
       
    50         CMMCScBkupStateArchiveOpDataOwners( MMMCScBkupDriver& aDriver );
       
    51 
       
    52     public: // From CMMCScBkupState
       
    53         TMMCScBkupStateId StateId() const;
       
    54 
       
    55     public: // From CMMCScBkupStateOpAware
       
    56         TMMCScBkupStateId NextStateBackupId( TBool aPartial ) const;
       
    57         TMMCScBkupStateId NextStateRestoreId( TBool aPartial ) const;
       
    58 
       
    59     private: // From CMMCScBkupStateOpAware
       
    60 
       
    61     private: // From CMMCScBkupState
       
    62         void PerformStateInitBackupL( TBool aPartial );
       
    63         void PerformStateInitRestoreL( TBool aPartial );
       
    64         //
       
    65         void PerformAsynchronousStateStepBackupL( TBool aPartial );
       
    66         void PerformAsynchronousStateStepRestoreL( TBool aPartial );
       
    67         //
       
    68         void PerformLastRightsBackupL( TBool aPartial );
       
    69         void PerformLastRightsRestoreL( TBool aPartial );
       
    70         //
       
    71         TBool PerformAsynchronousErrorCleanupRestore( TBool aPartial, TInt aError );
       
    72 
       
    73     private: // Member data
       
    74 
       
    75         //
       
    76         TInt iIndexValueCurrent;
       
    77     };
       
    78 
       
    79 
       
    80 #endif // __CMMCSCBKUPSTATEARCHIVEOPDATAOWNERS_H__
       
    81 
       
    82 //End of File