diff -r dd3853b8dc3f -r 1e1cc61f56c3 realtimenetprots/sipfw/ProfileAgent/Server/Src/SipProfileCacheItem.cpp --- a/realtimenetprots/sipfw/ProfileAgent/Server/Src/SipProfileCacheItem.cpp Fri Feb 19 23:10:33 2010 +0200 +++ b/realtimenetprots/sipfw/ProfileAgent/Server/Src/SipProfileCacheItem.cpp Fri Mar 12 15:44:11 2010 +0200 @@ -84,6 +84,9 @@ #endif { iIsRfsInprogress = EFalse; + iIsVpnInUse = EFalse; + iInitialApnSelected = EFalse; + iApnSwitchEnabled = EFalse; iDeltaTimerEntry.Set(iDeltaTimerCallBack); } @@ -560,6 +563,61 @@ return iIsRfsInprogress; } +// ----------------------------------------------------------------------------- +// CSIPProfileCacheItem::VpnInUse +// ----------------------------------------------------------------------------- +// +void CSIPProfileCacheItem::VpnInUse(TBool aStatus) + { + iIsVpnInUse = aStatus; + } + +// ----------------------------------------------------------------------------- +// CSIPProfileCacheItem::IsVpnInUse +// ----------------------------------------------------------------------------- +// +TBool CSIPProfileCacheItem::IsVpnInUse() const + { + return iIsVpnInUse; + } + +// ----------------------------------------------------------------------------- +// CSIPProfileCacheItem::SetApnSelected +// ----------------------------------------------------------------------------- +// +void CSIPProfileCacheItem::SetApnSelected(TBool aStatus) + { + iInitialApnSelected = aStatus; + } + +// ----------------------------------------------------------------------------- +// CSIPProfileCacheItem::IsInitialApnSelected +// ----------------------------------------------------------------------------- +// +TBool CSIPProfileCacheItem::IsInitialApnSelected() const + { + return iInitialApnSelected; + } + +// ----------------------------------------------------------------------------- +// CSIPProfileCacheItem::SetApnSwitchStatus +// ----------------------------------------------------------------------------- +// +void CSIPProfileCacheItem::SetApnSwitchStatus(TBool aStatus) + { + iApnSwitchEnabled = aStatus; + } + +// ----------------------------------------------------------------------------- +// CSIPProfileCacheItem::IsApnSwitchEnabled +// ----------------------------------------------------------------------------- +// +TBool CSIPProfileCacheItem::IsApnSwitchEnabled() const + { + return iApnSwitchEnabled; + } + +// ----------------------------------------------------------------------------- // CSIPProfileCacheItem::CanBePermanentlyRemoved // ----------------------------------------------------------------------------- //