diff -r 000000000000 -r 3553901f7fa8 telephonyutils/etel3rdpartyapi/ExampleApps/OutgoingCalls/CDynamicCaps.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/telephonyutils/etel3rdpartyapi/ExampleApps/OutgoingCalls/CDynamicCaps.h Tue Feb 02 01:41:59 2010 +0200 @@ -0,0 +1,69 @@ +// Copyright (c) 2005-2009 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: +// + + +#ifndef __CDYNAMICCAPS_H_ +#define __CDYNAMICCAPS_H_ + +#include +#include +#include +#include + +#include "CISVAPIAsync.h" +#include "CMainMenu.h" + +/** +Retrieves dynamic capabilities relating to a call. This includes +whether a call can be put on hold, resumed or swapped with another +call. +*/ +class CDynamicCaps : public CISVAPIAsync + { + +// Methods +public: + static CDynamicCaps* NewL(MExecAsync* aController, CTelephony::TCallId aCallId); + ~CDynamicCaps(); + + void doStartRequestL(); + +private: + CDynamicCaps(MExecAsync* aController, CTelephony::TCallId aCallId); + void ConstructL(); + + void RunL(); + void DoCancel(); + +// Data +public: + /** + Stores the retrieved capabilities of the call identified by iCallId. + */ + CTelephony::TCallCapsV1 iCallCapsV1; + /** + Identifies the call whose capabilities are interrogated. + */ + CTelephony::TCallId iCallId; + +private: + /** + Package descriptor for iCallId. + */ + CTelephony::TCallCapsV1Pckg iCallCapsV1Pckg; + + }; + +#endif // __CDYNAMICCAPS_H_