filemanager/bkupengine/inc/CMMCScBkupStateArchiveOpDataOwners.h
author Simon Howkins <simonh@symbian.org>
Tue, 16 Nov 2010 11:00:04 +0000
branchRCL_3
changeset 55 58ed58285a84
parent 0 6a9f87576119
permissions -rw-r--r--
Fixed path to IBY files to be exported

/*
* Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0""
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description: Declaration for CMMCScBkupStateArchiveOpDataOwners
*     
*
*/

#ifndef __CMMCSCBKUPSTATEARCHIVEOPDATAOWNERS_H__
#define __CMMCSCBKUPSTATEARCHIVEOPDATAOWNERS_H__

// User includes
#include "CMMCScBkupStateOpAware.h"


/**
*
*
* @since 3.0
*/
NONSHARABLE_CLASS(CMMCScBkupStateArchiveOpDataOwners) : public CMMCScBkupStateOpAware
    {
    public:

        /**
        * Static constructor
        */
        static CMMCScBkupStateArchiveOpDataOwners* NewL( MMMCScBkupDriver& aDriver );

        /**
        * C++ destructor
        */
        ~CMMCScBkupStateArchiveOpDataOwners();

    private:

        /**
        * C++ default constructor
        */
        CMMCScBkupStateArchiveOpDataOwners( MMMCScBkupDriver& aDriver );

    public: // From CMMCScBkupState
        TMMCScBkupStateId StateId() const;

    public: // From CMMCScBkupStateOpAware
        TMMCScBkupStateId NextStateBackupId( TBool aPartial ) const;
        TMMCScBkupStateId NextStateRestoreId( TBool aPartial ) const;

    private: // From CMMCScBkupStateOpAware

    private: // From CMMCScBkupState
        void PerformStateInitBackupL( TBool aPartial );
        void PerformStateInitRestoreL( TBool aPartial );
        //
        void PerformAsynchronousStateStepBackupL( TBool aPartial );
        void PerformAsynchronousStateStepRestoreL( TBool aPartial );
        //
        void PerformLastRightsBackupL( TBool aPartial );
        void PerformLastRightsRestoreL( TBool aPartial );
        //
        TBool PerformAsynchronousErrorCleanupRestore( TBool aPartial, TInt aError );

    private: // Member data

        //
        TInt iIndexValueCurrent;
    };


#endif // __CMMCSCBKUPSTATEARCHIVEOPDATAOWNERS_H__

//End of File