telephonyutils/etel3rdpartyapi/ExampleApps/OutgoingCalls/CDynamicCaps.h
changeset 0 3553901f7fa8
child 24 6638e7f4bd8f
equal deleted inserted replaced
-1:000000000000 0:3553901f7fa8
       
     1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 
       
    17 #ifndef __CDYNAMICCAPS_H_
       
    18 #define __CDYNAMICCAPS_H_
       
    19 
       
    20 #include <e32base.h>
       
    21 #include <e32cons.h>
       
    22 #include <e32def.h>
       
    23 #include <Etel3rdParty.h>
       
    24 
       
    25 #include "CISVAPIAsync.h"
       
    26 #include "CMainMenu.h"
       
    27 
       
    28 /**
       
    29 Retrieves dynamic capabilities relating to a call.  This includes
       
    30 whether a call can be put on hold, resumed or swapped with another
       
    31 call.
       
    32 */
       
    33 class CDynamicCaps : public CISVAPIAsync
       
    34 	{
       
    35 
       
    36 // Methods
       
    37 public:
       
    38 	static CDynamicCaps* NewL(MExecAsync* aController, CTelephony::TCallId aCallId);
       
    39 	~CDynamicCaps();
       
    40 
       
    41 	void doStartRequestL();
       
    42 
       
    43 private:
       
    44 	CDynamicCaps(MExecAsync* aController, CTelephony::TCallId aCallId);
       
    45 	void ConstructL();
       
    46 
       
    47 	void RunL();
       
    48 	void DoCancel();
       
    49 
       
    50 // Data
       
    51 public:
       
    52 	/**
       
    53 	Stores the retrieved capabilities of the call identified by iCallId.
       
    54 	*/
       
    55 	CTelephony::TCallCapsV1 iCallCapsV1;
       
    56 	/**
       
    57 	Identifies the call whose capabilities are interrogated.
       
    58 	*/
       
    59 	CTelephony::TCallId iCallId;
       
    60 
       
    61 private:
       
    62 	/**
       
    63 	Package descriptor for iCallId.
       
    64 	*/
       
    65 	CTelephony::TCallCapsV1Pckg iCallCapsV1Pckg;
       
    66 
       
    67 	};
       
    68 
       
    69 #endif // __CDYNAMICCAPS_H_