bearermanagement/mpm/inc/mpmconnmonevents.h
branchRCL_3
changeset 12 ea6e024ea6f9
parent 8 2e6c4614c58e
child 15 4dc3bb0099b0
equal deleted inserted replaced
8:2e6c4614c58e 12:ea6e024ea6f9
    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 /**
   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
   301          */
   299          */
   302         void IapAvailabilityChange();
   300         void IapAvailabilityChange();
   303 
   301        
   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
   302     public: // Functions from base classes
   327     
   303     
   328         /**
   304         /**
   329         * From MConnectionMonitorObserver. Event from Connection Monitor.
   305         * From MConnectionMonitorObserver. Event from Connection Monitor.
   330         * @since 3.1
   306         * @since 3.1
   371         TBool iFilterEvents; // by default off. (CBase)
   347         TBool iFilterEvents; // by default off. (CBase)
   372     public:
   348     public:
   373         void FilterAvailableIAPEvents( const TBool aVal ) { iFilterEvents = aVal; }
   349         void FilterAvailableIAPEvents( const TBool aVal ) { iFilterEvents = aVal; }
   374 #endif //_DEBUG
   350 #endif //_DEBUG
   375 
   351 
   376        CWlanAvailability*               iWlanAvailability;
       
   377     };
   352     };
   378 
   353 
   379 // -----------------------------------------------------------------------------
   354 // -----------------------------------------------------------------------------
   380 // CMPMConnMonEvents::EnableDiscarding
   355 // CMPMConnMonEvents::EnableDiscarding
   381 // -----------------------------------------------------------------------------
   356 // -----------------------------------------------------------------------------