diff -r 95243422089a -r 491b3ed49290 filemanager/bkupengine/inc/CMMCScBkupDriveSpecificRequest.h --- a/filemanager/bkupengine/inc/CMMCScBkupDriveSpecificRequest.h Thu Aug 19 09:42:45 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,132 +0,0 @@ -/* -* 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 of CMMCScBkupDriveSpecificRequest -* -* -*/ - -#ifndef __CMMCSCBKUPDRIVESPECIFICREQUEST_H__ -#define __CMMCSCBKUPDRIVESPECIFICREQUEST_H__ - -// System includes -#include -#include - -// User includes -#include "TMMCScBkupOwnerDataType.h" - -// Classes referenced -class CMMCScBkupDriveAndOperationTypeManager; - - - -/** -* -* -* @since 3.0 -*/ -NONSHARABLE_CLASS(CMMCScBkupDriveSpecificRequest) : public CActive - { - protected: - - /** - * C++ default constructor - */ - CMMCScBkupDriveSpecificRequest( const CMMCScBkupDriveAndOperationTypeManager& aDriveAndOperations, TMMCScBkupOwnerDataType aDataType, CActive::TPriority aPriority = CActive::EPriorityIdle ); - - /** - * Second phase constructor - */ - void ConstructL( ); - - public: - - /** - * C++ destructor - */ - ~CMMCScBkupDriveSpecificRequest(); - - protected: // API - - /** - * - */ - virtual void RequestL( TRequestStatus& aObserver ); - - protected: // Internal methods - - /** - * - */ - TBool NextValidDrive(TDriveNumber& aDrive); - - /** - * - */ - TBool NextValidDrive(TDriveNumber& aDrive, const TDriveList& aCrossCheckList); - - /** - * Return the current drive - */ - TDriveNumber CurrentDrive() const; - - /** - * - */ - void CompleteObserverRequest(TInt aCompletionCode); - - /** - * - */ - void CompleteSelf(TInt aCompletionCode = KErrNone); - - /** - * - */ - inline const CMMCScBkupDriveAndOperationTypeManager& DriveAndOperations() const { return iDriveAndOperations; } - - private: // From CActive - - /** - * Default behaviour is to do nothing - */ - void DoCancel(); - - /** - * Complete's observer with the error code - */ - TInt RunError(TInt aError); - - private: // Member data - - // - const CMMCScBkupDriveAndOperationTypeManager& iDriveAndOperations; - // - TMMCScBkupOwnerDataType iDataType; - // - TInt iCurrentDrive; - // - TRequestStatus* iObserver; - }; - - - - - - - - -#endif // __CMMCSCBKUPARCHIVE_H__ - -//End of File