equal
deleted
inserted
replaced
2498 } |
2498 } |
2499 |
2499 |
2500 return destinationId; |
2500 return destinationId; |
2501 } |
2501 } |
2502 |
2502 |
|
2503 // ----------------------------------------------------------------------------- |
|
2504 // CMPMCommsDatAccess::GetDefaultConnectionL |
|
2505 // ----------------------------------------------------------------------------- |
|
2506 // |
|
2507 void CMPMCommsDatAccess::GetDefaultConnectionL( TCmDefConnType& aType, TUint32& aId ) |
|
2508 { |
|
2509 MPMLOGSTRING( "CMPMCommsDatAccess::GetDefaultConnectionL" ) |
|
2510 |
|
2511 RCmManager rCmManager; |
|
2512 CleanupClosePushL( rCmManager ); |
|
2513 rCmManager.CreateTablesAndOpenL(); |
|
2514 |
|
2515 TCmDefConnValue defConnValue; |
|
2516 rCmManager.ReadDefConnL( defConnValue ); |
|
2517 |
|
2518 aType = defConnValue.iType; |
|
2519 aId = defConnValue.iId; |
|
2520 |
|
2521 CleanupStack::PopAndDestroy( &rCmManager ); |
|
2522 |
|
2523 } |
|
2524 |
2503 // End of File |
2525 // End of File |