wlan_bearer/wlanengine/wlan_symbian/wlanengine_symbian_3.1/inc/wlmplatform.h
branchRCL_3
changeset 17 a828660c511c
parent 3 6524e815f76f
child 18 d3d7683d16f5
equal deleted inserted replaced
16:5fb7af913dfd 17:a828660c511c
    14 * Description:  Contains the class for handling platform-specific functionality.
    14 * Description:  Contains the class for handling platform-specific functionality.
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 /*
    18 /*
    19 * %version: 12 %
    19 * %version: 13 %
    20 */
    20 */
    21 
    21 
    22 #ifndef WLMPLATFORM_H
    22 #ifndef WLMPLATFORM_H
    23 #define WLMPLATFORM_H
    23 #define WLMPLATFORM_H
    24 
    24 
   101         /**
   101         /**
   102          * WLAN region cache is always cleared after defined time.
   102          * WLAN region cache is always cleared after defined time.
   103          */
   103          */
   104         virtual void ClearRegionCache() = 0;
   104         virtual void ClearRegionCache() = 0;
   105         
   105         
       
   106         /**
       
   107          * WLAN has been set ON.
       
   108          */
       
   109         virtual void WlanOn() = 0;
       
   110         
       
   111         /**
       
   112          * WLAN has been set OFF.
       
   113          */
       
   114         virtual void WlanOff() = 0;
       
   115         
   106     };
   116     };
   107 
   117 
   108 /**
   118 /**
   109 * Class for handling platform specific functionality.
   119 * Class for handling platform specific functionality.
   110 * @lib wlmplatform.dll
   120 * @lib wlmplatform.dll
   183         /**
   193         /**
   184          * Publishes WLAN background scan interval.
   194          * Publishes WLAN background scan interval.
   185          * @param aInterval WLAN BG scan interval in seconds.
   195          * @param aInterval WLAN BG scan interval in seconds.
   186          */
   196          */
   187         IMPORT_C void PublishBgScanInterval( TUint32& aInterval );
   197         IMPORT_C void PublishBgScanInterval( TUint32& aInterval );
       
   198         
       
   199         /**
       
   200          * Get current WLAN on/off state.
       
   201          * @return WLAN on/off state.
       
   202          */
       
   203         IMPORT_C TWlanOnOffState GetWlanOnOffState();
   188 
   204 
   189     protected:  // Methods
   205     protected:  // Methods
   190 
   206 
   191        // Methods from base classes
   207        // Methods from base classes
   192 
   208 
   217 
   233 
   218         /**
   234         /**
   219         * (From MWlmSystemNotify) BT connection has been disconnected.        
   235         * (From MWlmSystemNotify) BT connection has been disconnected.        
   220         */
   236         */
   221         void BtConnectionDisabled();
   237         void BtConnectionDisabled();
       
   238         
       
   239         /**
       
   240          * (From MWlmSystemNotify) WLAN has been set ON.
       
   241          */
       
   242         void WlanOn();
       
   243         
       
   244         /**
       
   245          * (From MWlmSystemNotify) WLAN has been set OFF.
       
   246          */
       
   247         void WlanOff();
   222         
   248         
   223         /**
   249         /**
   224          * (From MWlanSystemTimeCallback) 
   250          * (From MWlanSystemTimeCallback) 
   225          * User has changed the time and therefore cached WLAN region is not valid anymore.
   251          * User has changed the time and therefore cached WLAN region is not valid anymore.
   226          */
   252          */