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