realtimenetprots/sipfw/ProfileAgent/Server/Src/SipProfileCacheItem.cpp
branchRCL_3
changeset 2 1e1cc61f56c3
parent 0 307788aac0a8
child 6 43c4dec3cb1f
--- 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
 // -----------------------------------------------------------------------------
 //