telephonyutils/etel3rdpartyapi/Test/te_etelisvcaps/src/linefunctsteps.cpp
changeset 0 3553901f7fa8
child 24 6638e7f4bd8f
equal deleted inserted replaced
-1:000000000000 0:3553901f7fa8
       
     1 // Copyright (c) 2006-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 // Implmentation of all test objects required to verify capability check on 
       
    15 // ETel3rdParty line functionality part.
       
    16 // 
       
    17 //
       
    18 
       
    19 /**
       
    20  @file 
       
    21  @internalTechnology
       
    22 */
       
    23 
       
    24 #include "linefunctsteps.h"
       
    25 
       
    26 //
       
    27 CGetLineStatusTestStep::CGetLineStatusTestStep()
       
    28 	:iCallStatusPckg(iCallStatus)
       
    29 	{
       
    30 	}
       
    31 
       
    32 TInt CGetLineStatusTestStep::IssueRequestL(TRequestStatus& aStatus )
       
    33 	{
       
    34 	aStatus = iTelephony->GetLineStatus(CTelephony::EVoiceLine,iCallStatusPckg);
       
    35 	return KErrNone;
       
    36 	}
       
    37 	
       
    38 TInt CGetLineStatusTestStep::CancelRequestL()
       
    39 	{
       
    40 	// sync call
       
    41 	return KErrNone;
       
    42 	}
       
    43 
       
    44 //
       
    45 CGetCallInfoTestStep::CGetCallInfoTestStep()
       
    46 	:iCallInfoPckg(iCallInfo), 
       
    47 	 iRCallInfoPckg(iRCallInfo),
       
    48 	 iCallSelectionPckg(iCallSelection)
       
    49 	{
       
    50 	iCallSelection.iSelect = CTelephony::EActiveCall;
       
    51 	iCallSelection.iLine = CTelephony::EVoiceLine;
       
    52 	}
       
    53 TInt CGetCallInfoTestStep::IssueRequestL(TRequestStatus& aStatus )
       
    54 	{
       
    55 	aStatus = iTelephony->GetCallInfo(iCallSelectionPckg, iCallInfoPckg, iRCallInfoPckg);
       
    56 	return KErrNone;
       
    57 	}
       
    58 	
       
    59 TInt CGetCallInfoTestStep::CancelRequestL()
       
    60 	{
       
    61 	// sync call
       
    62 	return KErrNone;
       
    63 	}
       
    64 
       
    65 //