equal
deleted
inserted
replaced
549 CLOG_WRITEF( _L( "iPrefs.iBearerSet: %x" ), iPrefs.iBearerSet ); |
549 CLOG_WRITEF( _L( "iPrefs.iBearerSet: %x" ), iPrefs.iBearerSet ); |
550 CLOG_WRITEF( _L( "iPrefs.iDirection: %d" ), iPrefs.iDirection ); |
550 CLOG_WRITEF( _L( "iPrefs.iDirection: %d" ), iPrefs.iDirection ); |
551 |
551 |
552 CRepository* cr = CRepository::NewLC( KCRUidProfileEngine ); |
552 CRepository* cr = CRepository::NewLC( KCRUidProfileEngine ); |
553 |
553 |
554 TInt selectedProfile; |
554 TInt selectedProfile( 0 ); |
555 |
555 |
556 TRAP_IGNORE( cr->Get( KProEngActiveProfile, selectedProfile ) ); |
556 (void) cr->Get( KProEngActiveProfile, selectedProfile ); |
557 |
557 |
558 // To get also VPN APs |
558 // To get also VPN APs |
559 TUint bearerSet = iPrefs.iBearerSet | ECommDbBearerVirtual; |
559 TUint bearerSet = iPrefs.iBearerSet | ECommDbBearerVirtual; |
560 |
560 |
561 TBool isOffLine = selectedProfile == 5; |
561 TBool isOffLine = selectedProfile == 5; |