diff -r 48780e181b38 -r 578be2adaf3e Symbian3/PDK/Source/GUID-EE79D90C-CC71-5C2B-8715-A9764A48F40D.dita --- a/Symbian3/PDK/Source/GUID-EE79D90C-CC71-5C2B-8715-A9764A48F40D.dita Tue Jul 20 12:00:49 2010 +0100 +++ b/Symbian3/PDK/Source/GUID-EE79D90C-CC71-5C2B-8715-A9764A48F40D.dita Fri Aug 13 16:47:46 2010 +0100 @@ -1,21 +1,21 @@ - - - - - -Data Line Status TutorialThis tutorial describes how to get the simple data line status with the telephony API for applications. create a new instance of CTelephony use CTelephony::GetLineStatus() to get the data line status Pass EDataLine as the parameter. the function returns a TCallStatusV1 object that contains the data line status information Data line example CTelephony* telephony = CTelephony::NewLC(); - -CTelephony::TCallStatusV1 callStatusV1; -CTelephony::TCallStatusV1Pckg callStatusV1Pckg( callStatusV1 ); - -CTelephony::TPhoneLine line = CTelephony::EDataLine; -telephony->GetLineStatus( line, callStatusV1Pckg ); -CTelephony::TCallStatus dataLineStatus = callStatusV1.iStatus; - + + + + + +Data Line Status TutorialThis tutorial describes how to get the simple data line status with the telephony API for applications. create a new instance of CTelephony use CTelephony::GetLineStatus() to get the data line status Pass EDataLine as the parameter. the function returns a TCallStatusV1 object that contains the data line status information Data line example CTelephony* telephony = CTelephony::NewLC(); + +CTelephony::TCallStatusV1 callStatusV1; +CTelephony::TCallStatusV1Pckg callStatusV1Pckg( callStatusV1 ); + +CTelephony::TPhoneLine line = CTelephony::EDataLine; +telephony->GetLineStatus( line, callStatusV1Pckg ); +CTelephony::TCallStatus dataLineStatus = callStatusV1.iStatus; + CleanupStack::PopAndDestroy( telephony ); \ No newline at end of file