cbsref/telephonyrefplugins/atltsy/atcommand/callcontrol/inc/atwaitforcallhandler.h
branchRCL_3
changeset 65 630d2f34d719
equal deleted inserted replaced
61:17af172ffa5f 65:630d2f34d719
       
     1 // Copyright (c) 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 // Wait for 1st incoming call
       
    15 
       
    16 #ifndef ATWAITFORCALLHANDLER_H_
       
    17 #define ATWAITFORCALLHANDLER_H_
       
    18 
       
    19 //system include
       
    20 
       
    21 //user include
       
    22 #include "atcommandcontrolbase.h"
       
    23 
       
    24 
       
    25 //class forward
       
    26 class CATRing;
       
    27 class CATClcc;
       
    28 
       
    29 class CATWaitForCallHandler : public CATCommandControlBase
       
    30 	{
       
    31 public:
       
    32 	static CATWaitForCallHandler* NewL(CGlobalPhonemanager& aGloblePhone,
       
    33 			                           CCtsyDispatcherCallback& aCtsyDispatcherCallback);
       
    34 	
       
    35 	static CATWaitForCallHandler* NewLC(CGlobalPhonemanager& aGloblePhone,
       
    36 			                            CCtsyDispatcherCallback& aCtsyDispatcherCallback);
       
    37 	
       
    38 	virtual ~CATWaitForCallHandler();
       
    39 	
       
    40 	void StartToWaitForCall();
       
    41 	
       
    42 	//From MAtCommandExecuteObserver
       
    43 	void AtCommandExecuteComplete(TAtEventSource aEventSource, TInt aStatus);
       
    44 	
       
    45 protected:
       
    46 	
       
    47 	CATWaitForCallHandler(CGlobalPhonemanager& aGloblePhone,
       
    48 			              CCtsyDispatcherCallback& aCtsyDispatcherCallback);
       
    49 	
       
    50 	void ConstructL();
       
    51 	
       
    52 	TInt ProcessIncomingCallInfomation();	
       
    53 
       
    54 private:
       
    55 	
       
    56 	CATRing* iAtRing;
       
    57 	
       
    58 	CATClcc* iAtClcc;
       
    59 
       
    60 	};
       
    61 
       
    62 #endif /*ATWAITFORCALLHANDLER_H_*/