diff -r 7b872347d83b -r 6d0b9f605b61 voipplugins/svtcallmenu/inc/svtcallstatehandler.h --- a/voipplugins/svtcallmenu/inc/svtcallstatehandler.h Tue Feb 02 00:05:57 2010 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,96 +0,0 @@ -/* -* Copyright (c) 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: Call handler class for svtcallmenu. -* -*/ - - -#ifndef C_SVTCALLSTATEHANDLER_H -#define C_SVTCALLSTATEHANDLER_H - -#include -#include - -/** - * Call state handler class for svtmatching. - * - * @lib svtmatching - * @since S60 v5.1 - */ -NONSHARABLE_CLASS( CSvtCallStateHandler ) : public CBase - { -public: // Data - - /** - * Features - */ - enum TFeature - { - ESvmFeatureNone, - ESvmFeatureConference, - ESvmFeatureUnattendedTransfer, - ESvmFeatureAttendedTransfer - }; - - -public: - - /** - * Two-phased constructor. - * @param aCallArray Current call info array. - */ - static CSvtCallStateHandler* NewL( - const RArray& aCallArray ); - - - /** - * Destructor. - */ - virtual ~CSvtCallStateHandler(); - - /** - * Checks is feature supported. - * @param aFeature - Feature to be checked. - * @return ETrue if feature supported. - */ - TBool FeatureSupported( TFeature aFeature ) const; - - -private: - - CSvtCallStateHandler(); - - void ConstructL( const RArray& aCallArray ); - - /** - * Checks is unattended transfer currently supported. - * @return ETrue if supported. - */ - TBool UnattendedTransferPossible() const; - -private: // Data - - /** - * Current call information. - */ - RArray iCallArray; - - -#ifdef _DEBUG - friend class T_CSvtCallStateHandler; -#endif - - }; - -#endif // C_SVTCALLSTATEHANDLER_H