--- a/bearermanagement/mpm/src/mpmcommsdataccess.cpp Mon May 17 09:55:27 2010 +0300
+++ b/bearermanagement/mpm/src/mpmcommsdataccess.cpp Mon May 24 20:51:35 2010 +0300
@@ -2500,4 +2500,26 @@
return destinationId;
}
+// -----------------------------------------------------------------------------
+// CMPMCommsDatAccess::GetDefaultConnectionL
+// -----------------------------------------------------------------------------
+//
+void CMPMCommsDatAccess::GetDefaultConnectionL( TCmDefConnType& aType, TUint32& aId )
+ {
+ MPMLOGSTRING( "CMPMCommsDatAccess::GetDefaultConnectionL" )
+
+ RCmManager rCmManager;
+ CleanupClosePushL( rCmManager );
+ rCmManager.CreateTablesAndOpenL();
+
+ TCmDefConnValue defConnValue;
+ rCmManager.ReadDefConnL( defConnValue );
+
+ aType = defConnValue.iType;
+ aId = defConnValue.iId;
+
+ CleanupStack::PopAndDestroy( &rCmManager );
+
+ }
+
// End of File