connectivitymodules/SeCon/services/pcd/inc/sconbackuprestore.h
changeset 40 b63e67867dcd
parent 19 2691f6aa1921
equal deleted inserted replaced
39:9905f7d46607 40:b63e67867dcd
     1 /*
     1 /*
     2 * Copyright (c) 2005-2008 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    35 	{
    35 	{
    36 	public:
    36 	public:
    37 		/**
    37 		/**
    38 		 * Two-phase constructor
    38 		 * Two-phase constructor
    39 		 * @param aQueue The address of CSConBackupRestoreQueue
    39 		 * @param aQueue The address of CSConBackupRestoreQueue
    40 		 * @param aMaxObjectSize Max object size
       
    41 		 * @param aFs aReference to RFs connection.
    40 		 * @param aFs aReference to RFs connection.
    42     	 * @return CSConBackupRestore instance
    41     	 * @return CSConBackupRestore instance
    43 		 */
    42 		 */
    44 		static CSConBackupRestore* NewL( 
    43 		static CSConBackupRestore* NewL( 
    45 			CSConBackupRestoreQueue* aQueue, 
    44 			CSConBackupRestoreQueue* aQueue, 
    46 			const TInt aMaxObjectSize, RFs& aFs );
    45 			RFs& aFs );
    47 		/**
    46 		/**
    48 		 * Destructor
    47 		 * Destructor
    49 		 * @return none
    48 		 * @return none
    50 		 */
    49 		 */
    51 		~CSConBackupRestore();
    50 		~CSConBackupRestore();
    82 		 * @return none
    81 		 * @return none
    83 		 */
    82 		 */
    84 		CSConBackupRestore( CSConBackupRestoreQueue* aQueue, RFs& aFs );
    83 		CSConBackupRestore( CSConBackupRestoreQueue* aQueue, RFs& aFs );
    85 		/**
    84 		/**
    86 		 * Initializes member data
    85 		 * Initializes member data
    87 		 * @param aMaxObjectSize Max object size
       
    88 		 * @return none
    86 		 * @return none
    89 		 */
    87 		 */
    90 		void ConstructL( const TInt aMaxObjectSize );
    88 		void ConstructL();
    91 		/**
    89 		/**
    92 		 * Implementation of CActive::DoCancel()
    90 		 * Implementation of CActive::DoCancel()
    93 		 * @return none
    91 		 * @return none
    94 		 */
    92 		 */
    95 		void DoCancel();
    93 		void DoCancel();
   101 		
    99 		
   102 	private:
   100 	private:
   103 		CSConBackupRestoreQueue*		iQueue; 
   101 		CSConBackupRestoreQueue*		iQueue; 
   104 		CSConSBEClient*					iSBEClient;
   102 		CSConSBEClient*					iSBEClient;
   105 		TInt							iCurrentTask;
   103 		TInt							iCurrentTask;
   106 		TInt							iMaxObjectSize;
       
   107 		TBool							iBackupRestoreActive;
   104 		TBool							iBackupRestoreActive;
   108 		RFs&                            iFs;
   105 		RFs&                            iFs;
   109 	};
   106 	};
   110 	
   107 	
   111 #endif // _SCONBACKUPRESTORE_H_
   108 #endif // _SCONBACKUPRESTORE_H_