realtimenetprots/sipfw/ProfileAgent/Server/Src/SipProfileCacheItem.cpp
changeset 15 8248b03a2669
parent 0 307788aac0a8
child 16 43c4dec3cb1f
--- a/realtimenetprots/sipfw/ProfileAgent/Server/Src/SipProfileCacheItem.cpp	Tue Feb 02 01:03:15 2010 +0200
+++ b/realtimenetprots/sipfw/ProfileAgent/Server/Src/SipProfileCacheItem.cpp	Fri Apr 16 15:18:54 2010 +0300
@@ -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
 // -----------------------------------------------------------------------------
 //