diff -r f742655b05bf -r d38647835c2e callcontinuity/vcc/inc/tvccstatereleasing.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/callcontinuity/vcc/inc/tvccstatereleasing.h Wed Sep 01 12:29:57 2010 +0100 @@ -0,0 +1,95 @@ +/* +* Copyright (c) 2007-2008 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: Function definitions for VCC Releasing State +* +*/ + + + +#ifndef TVCCSTATERELEASING_H +#define TVCCSTATERELEASING_H + +// INCLUDES +#include +#include // HBufC + +#include "tvccstate.h" + +/** Releasing state name */ +const TUint KVccStateReleasing = 2; + +//forward declarations +class CVccPerformer; + +/** +* The base class for VCC state machine implementation. +* Contains default implementations for the functions. +* +* @lib vccperformer.dll +* @since S60 3.2 +*/ +class TVccStateReleasing: public TVccState + { + +public: + /** + * c'tor + */ + + TVccStateReleasing(); + + /** + * Links the state i.e. provides transition points. + * @param aInit an init state + */ + void LinkState( TVccState& aInit ); + +// From base class TVccState + + /** + * @see TVccState::Name() + */ + TUint Name() const; + + /** + * @see TVccState::CallStateChanged() + */ + void CallStateChanged( CVccPerformer& aContext, + const MCCPCallObserver::TCCPCallState aState, + MCCPCall* aCall ); + + /** + * @see TVccState::CallEventOccurred() + */ + void CallEventOccurred( CVccPerformer& aContext, + const MCCPCallObserver::TCCPCallEvent aEvent, + MCCPCall* aCall ); + +private: + //no copying + TVccStateReleasing(const TVccStateReleasing&); + TVccStateReleasing operator = (const TVccStateReleasing&); + +private: + + /** + * Reference to Init state + * Not own. + */ + TVccState* iInit; +}; + +#endif // TVCCSTATERELEASING_H + +// End of File