bearermanagement/mpm/src/mpmcommsdataccess.cpp
changeset 32 5c4486441ae6
parent 20 9c97ad6591ae
child 41 bbb64eb3bdee
equal deleted inserted replaced
31:c16e04725da3 32:5c4486441ae6
  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