telephonyutils/etel3rdpartyapi/ExampleApps/OutgoingCalls/CSwap.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 __CSWAP_H__
       
    18 #define __CSWAP_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 Puts the currently active call specified as argument 1 to DoStartRequestL() on 
       
    30 hold. Resumes the currently held call specified as argument 2 to DoStartRequestL().
       
    31 */
       
    32 class CSwap : public CISVAPIAsync
       
    33 	{
       
    34 
       
    35 // Methods
       
    36 public:
       
    37 	static CSwap* NewL(MExecAsync* aController);
       
    38 	~CSwap();
       
    39 
       
    40 	void DoStartRequestL(CTelephony::TCallId aCallId1, CTelephony::TCallId aCallId2);
       
    41 
       
    42 private:
       
    43 	CSwap(MExecAsync* aController);
       
    44 	void ConstructL();
       
    45 
       
    46 	void RunL();
       
    47 	void DoCancel();
       
    48 
       
    49 	};
       
    50 
       
    51 #endif // __CSWAP_H__
       
    52