bearermanagement/mpm/inc/mpmconnmonevents.h
changeset 18 fcbbe021d614
parent 0 5a93021fdf25
child 40 c5b848e6c7d1
equal deleted inserted replaced
4:77415202bfc8 18:fcbbe021d614
    30 #include <commsdat.h>
    30 #include <commsdat.h>
    31 #else
    31 #else
    32 #include <commsdat.h>
    32 #include <commsdat.h>
    33 #include <commsdat_partner.h>
    33 #include <commsdat_partner.h>
    34 #endif
    34 #endif
    35 #include <NIFVAR.H>
    35 #include <nifvar.h>
    36 #include "mpmserver.h"
    36 #include "mpmserver.h"
    37 
    37 
    38 // FORWARD DECLARATIONS
    38 // FORWARD DECLARATIONS
    39 class CMPMConnMonReqs;
    39 class CMPMConnMonReqs;
    40 class CWlanAvailability;
       
    41 class MWlanAvailability;
       
    42 
    40 
    43 // CONSTANTS
    41 // CONSTANTS
    44 
    42 
    45 // CLASS DECLARATION
    43 // CLASS DECLARATION
    46 /**
    44 /**
   296         inline TBool DiscardAvailabilityNotification(); 
   294         inline TBool DiscardAvailabilityNotification(); 
   297         
   295         
   298         /**
   296         /**
   299          * Creates preferred carrier available notification when needed.
   297          * Creates preferred carrier available notification when needed.
   300          * @since 5.1
   298          * @since 5.1
       
   299          * @param aCaller Identifies the calling context
   301          */
   300          */
   302         void IapAvailabilityChange();
   301         void IapAvailabilityChange( const TPrefIAPNotifCaller aCaller );
   303 
   302        
   304         /**
       
   305          * Asks WLAN bearer availability info from Connection monitor.
       
   306          * @since 5.2
       
   307          * @param aObserver pointer to the caller
       
   308          */
       
   309         void CheckWlanAvailabilityL( MWlanAvailability* aObserver );
       
   310         
       
   311         /**
       
   312          * Cancels WLAN bearer availability check for an observer.
       
   313          * @since 5.2
       
   314          * @param aObserver pointer to the caller
       
   315          */
       
   316         void CancelCheckWlanWlanAvailability( MWlanAvailability* aObserver );
       
   317     
       
   318         /**
       
   319          * Sets iWlanAvailability pointer to NULL because object has
       
   320          * deleted itself.
       
   321          * @since 5.2
       
   322          */
       
   323         void SetWlanAvailabilityPtrNull();
       
   324 
       
   325         
       
   326     public: // Functions from base classes
   303     public: // Functions from base classes
   327     
   304     
   328         /**
   305         /**
   329         * From MConnectionMonitorObserver. Event from Connection Monitor.
   306         * From MConnectionMonitorObserver. Event from Connection Monitor.
   330         * @since 3.1
   307         * @since 3.1
   371         TBool iFilterEvents; // by default off. (CBase)
   348         TBool iFilterEvents; // by default off. (CBase)
   372     public:
   349     public:
   373         void FilterAvailableIAPEvents( const TBool aVal ) { iFilterEvents = aVal; }
   350         void FilterAvailableIAPEvents( const TBool aVal ) { iFilterEvents = aVal; }
   374 #endif //_DEBUG
   351 #endif //_DEBUG
   375 
   352 
   376        CWlanAvailability*               iWlanAvailability;
       
   377     };
   353     };
   378 
   354 
   379 // -----------------------------------------------------------------------------
   355 // -----------------------------------------------------------------------------
   380 // CMPMConnMonEvents::EnableDiscarding
   356 // CMPMConnMonEvents::EnableDiscarding
   381 // -----------------------------------------------------------------------------
   357 // -----------------------------------------------------------------------------