realtimenetprots/sipfw/ProfileAgent/Server/Src/SipProfileCacheItem.cpp
branchRCL_3
changeset 9 1e1cc61f56c3
parent 0 307788aac0a8
child 16 43c4dec3cb1f
equal deleted inserted replaced
4:dd3853b8dc3f 9:1e1cc61f56c3
    82     iUsers(1),
    82     iUsers(1),
    83     iObserversWaitedForPermission(1)
    83     iObserversWaitedForPermission(1)
    84 #endif
    84 #endif
    85 	{
    85 	{
    86 	iIsRfsInprogress = EFalse;
    86 	iIsRfsInprogress = EFalse;
       
    87 	iIsVpnInUse = EFalse;
       
    88 	iInitialApnSelected = EFalse;
       
    89 	iApnSwitchEnabled = EFalse;
    87 	iDeltaTimerEntry.Set(iDeltaTimerCallBack);
    90 	iDeltaTimerEntry.Set(iDeltaTimerCallBack);
    88 	}
    91 	}
    89 
    92 
    90 // -----------------------------------------------------------------------------
    93 // -----------------------------------------------------------------------------
    91 // CSIPProfileCacheItem::ConstructL
    94 // CSIPProfileCacheItem::ConstructL
   558 TBool CSIPProfileCacheItem::IsRfsInprogress() const
   561 TBool CSIPProfileCacheItem::IsRfsInprogress() const
   559     {
   562     {
   560     return iIsRfsInprogress;
   563     return iIsRfsInprogress;
   561     }
   564     }
   562 
   565 
       
   566 // -----------------------------------------------------------------------------
       
   567 // CSIPProfileCacheItem::VpnInUse
       
   568 // -----------------------------------------------------------------------------
       
   569 //
       
   570 void CSIPProfileCacheItem::VpnInUse(TBool aStatus)
       
   571     {
       
   572     iIsVpnInUse = aStatus;
       
   573     }
       
   574 
       
   575 // -----------------------------------------------------------------------------
       
   576 // CSIPProfileCacheItem::IsVpnInUse
       
   577 // -----------------------------------------------------------------------------
       
   578 //
       
   579 TBool CSIPProfileCacheItem::IsVpnInUse() const
       
   580     {
       
   581     return iIsVpnInUse;
       
   582     }
       
   583 
       
   584 // -----------------------------------------------------------------------------
       
   585 // CSIPProfileCacheItem::SetApnSelected
       
   586 // -----------------------------------------------------------------------------
       
   587 //
       
   588 void CSIPProfileCacheItem::SetApnSelected(TBool aStatus)
       
   589     {
       
   590     iInitialApnSelected = aStatus;
       
   591     }
       
   592 
       
   593 // -----------------------------------------------------------------------------
       
   594 // CSIPProfileCacheItem::IsInitialApnSelected
       
   595 // -----------------------------------------------------------------------------
       
   596 //
       
   597 TBool CSIPProfileCacheItem::IsInitialApnSelected() const
       
   598     {
       
   599     return iInitialApnSelected;
       
   600     }
       
   601 
       
   602 // -----------------------------------------------------------------------------
       
   603 // CSIPProfileCacheItem::SetApnSwitchStatus
       
   604 // -----------------------------------------------------------------------------
       
   605 //
       
   606 void CSIPProfileCacheItem::SetApnSwitchStatus(TBool aStatus)
       
   607     {
       
   608     iApnSwitchEnabled = aStatus;
       
   609     }
       
   610 
       
   611 // -----------------------------------------------------------------------------
       
   612 // CSIPProfileCacheItem::IsApnSwitchEnabled
       
   613 // -----------------------------------------------------------------------------
       
   614 //
       
   615 TBool CSIPProfileCacheItem::IsApnSwitchEnabled() const
       
   616     {
       
   617     return iApnSwitchEnabled;
       
   618     }
       
   619     
       
   620 // -----------------------------------------------------------------------------
   563 // CSIPProfileCacheItem::CanBePermanentlyRemoved
   621 // CSIPProfileCacheItem::CanBePermanentlyRemoved
   564 // -----------------------------------------------------------------------------
   622 // -----------------------------------------------------------------------------
   565 //
   623 //
   566 TBool CSIPProfileCacheItem::CanBePermanentlyRemoved() const
   624 TBool CSIPProfileCacheItem::CanBePermanentlyRemoved() const
   567 	{
   625 	{