telephonyutils/etel3rdpartyapi/ExampleApps/AutoDTMFDialler/CHangup.h
changeset 0 3553901f7fa8
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 #ifndef __CHANGUP_H__
       
    17 #define __CHANGUP_H__
       
    18 
       
    19 #include <e32base.h>
       
    20 #include <e32cons.h>
       
    21 #include <e32def.h>
       
    22 #include <etel3rdparty.h>
       
    23 
       
    24 #include "CISVAPIAsync.h"
       
    25 #include "CMainMenu.h"
       
    26 
       
    27 /**
       
    28 Hang up the currently active call whose callId is specified as an argument to DoStartRequestL()
       
    29 */
       
    30 class CHangup : public CISVAPIAsync
       
    31 	{
       
    32 
       
    33 // Methods
       
    34 public:
       
    35 	static CHangup* NewL(MExecAsync* aController);
       
    36 	~CHangup();
       
    37 
       
    38 	void DoStartRequestL(CTelephony::TCallId aCallId);
       
    39 
       
    40 private:
       
    41 	CHangup(MExecAsync* aController);
       
    42 	void ConstructL();
       
    43 
       
    44 	void RunL();
       
    45 	void DoCancel();
       
    46 
       
    47 	};
       
    48 
       
    49 #endif // __CHANGUP_H__