bearermanagement/mpm/inc/mpmconnmonevents.h
branchRCL_3
changeset 62 bb1f80fb7db2
parent 58 83ca720e2b9a
equal deleted inserted replaced
58:83ca720e2b9a 62:bb1f80fb7db2
   291         * @return ETrue if availability notifications are discarded. 
   291         * @return ETrue if availability notifications are discarded. 
   292         */
   292         */
   293         inline TBool DiscardAvailabilityNotification(); 
   293         inline TBool DiscardAvailabilityNotification(); 
   294         
   294         
   295         /**
   295         /**
       
   296         * Returns the setting whether IAP availability notification has been discarded by MPM.
       
   297         * @since 3.2
       
   298         * @return ETrue if availability notifications have been discarded. 
       
   299         */
       
   300         inline TBool AvailabilityNotificationDiscarded();
       
   301         
       
   302         /**
   296          * Creates preferred carrier available notification when needed.
   303          * Creates preferred carrier available notification when needed.
   297          * @since 5.1
   304          * @since 5.1
   298          * @param aCaller Identifies the calling context
   305          * @param aCaller Identifies the calling context
   299          */
   306          */
   300         void IapAvailabilityChange( const TPrefIAPNotifCaller aCaller );
   307         void IapAvailabilityChange( const TPrefIAPNotifCaller aCaller );
   341         
   348         
   342         // Discard availability notifications from Connection Monitor 
   349         // Discard availability notifications from Connection Monitor 
   343         // until MPM initiated WLAN scan request has completed. 
   350         // until MPM initiated WLAN scan request has completed. 
   344         TBool iDiscardAvailabilityNotification;
   351         TBool iDiscardAvailabilityNotification;
   345 
   352 
       
   353         // ConnMon's IAP availability event has been discarded.
       
   354         TBool iAvailabilityNotificationDiscarded;
       
   355 
   346 #ifdef _DEBUG 
   356 #ifdef _DEBUG 
   347         TBool iFilterEvents; // by default off. (CBase)
   357         TBool iFilterEvents; // by default off. (CBase)
   348     public:
   358     public:
   349         void FilterAvailableIAPEvents( const TBool aVal ) { iFilterEvents = aVal; }
   359         void FilterAvailableIAPEvents( const TBool aVal ) { iFilterEvents = aVal; }
   350 #endif //_DEBUG
   360 #endif //_DEBUG
   376 inline TBool CMPMConnMonEvents::DiscardAvailabilityNotification()
   386 inline TBool CMPMConnMonEvents::DiscardAvailabilityNotification()
   377     {
   387     {
   378     return iDiscardAvailabilityNotification;
   388     return iDiscardAvailabilityNotification;
   379     }
   389     }
   380 
   390 
       
   391 // -----------------------------------------------------------------------------
       
   392 // CMPMConnMonEvents::AvailabilityNotificationDiscarded
       
   393 // -----------------------------------------------------------------------------
       
   394 //
       
   395 inline TBool CMPMConnMonEvents::AvailabilityNotificationDiscarded()
       
   396     {
       
   397     return iAvailabilityNotificationDiscarded;
       
   398     }
       
   399 
   381 #endif // MPMCONNMONEVENTS_H
   400 #endif // MPMCONNMONEVENTS_H
   382 
   401 
   383 // End of file
   402 // End of file