diff -r c32dc0be5eb4 -r 6b4fc789785b remotestoragefw/remotefileengine/inc/rsfwmountconnectionstatemachine.h --- a/remotestoragefw/remotefileengine/inc/rsfwmountconnectionstatemachine.h Mon Jan 18 21:00:57 2010 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,60 +0,0 @@ -/* -* Copyright (c) 2005-2006 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: State machine for changing mount state, e.g. online->offline -* -*/ - -#ifndef C_RSFW_MOUNTCONNECTIONSTATEMACHINE_H -#define C_RSFW_MOUNTCONNECTIONSTATEMACHINE_H - -#include "rsfwwaitnotestatemachine.h" -#include "rsfwvolume.h" - -/** - * State machine for changing mount state, e.g. online->offline - * This state machine is currently only used for disconnecting - * For connecting CRsfWMountStateMachine is used - * Disconnecting does not currently send packets to network, - * but it is possible that this happens in the future. - * - */ -class CRsfwMountConnectionStateMachine : public CRsfwWaitNoteStateMachine - { -public: - CRsfwMountConnectionStateMachine(TChar aDriveLetter, TUint aState); - -public: - // STATES - class TChangeConnectionState : public CRsfwMountConnectionStateMachine::TState - { - public: - TChangeConnectionState(CRsfwMountConnectionStateMachine* aOperation); - void EnterL(); - TState* CompleteL(); - TState* ErrorL(TInt aCode); - private: - // backpointer to the operation - CRsfwMountConnectionStateMachine* iOperation; - // - CRsfwVolume *iVolume; - }; - -public: - // parameters of the operation - TChar iDriveLetter; - TUint iState; - - }; - -#endif // C_RSFW_MOUNTCONNECTIONSTATEMACHINE_H \ No newline at end of file