wlan_bearer/wlanengine/wlan_symbian/wlanengine_symbian_3.1/inc/wlmserver.h
branchRCL_3
changeset 18 d3d7683d16f5
parent 17 a828660c511c
equal deleted inserted replaced
17:a828660c511c 18:d3d7683d16f5
    14 * Description:  Main server
    14 * Description:  Main server
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 /*
    18 /*
    19 * %version: 59 %
    19 * %version: 55.1.2 %
    20 */
    20 */
    21 
    21 
    22 #ifndef WLMSERVER_H
    22 #ifndef WLMSERVER_H
    23 #define WLMSERVER_H
    23 #define WLMSERVER_H
    24 
    24 
    77     public abs_core_server_callback_c, 
    77     public abs_core_server_callback_c, 
    78     public MWlmPlatformCallback,
    78     public MWlmPlatformCallback,
    79     public MWlanEapolCallbackInterface,
    79     public MWlanEapolCallbackInterface,
    80     public MWlanScanResultProvider
    80     public MWlanScanResultProvider
    81     {
    81     {
    82     
       
    83     // Friend class for Unit Testing
       
    84     friend class UT_CWlmServer;
       
    85     
       
    86     public:  // Constructors and destructor
    82     public:  // Constructors and destructor
    87 
    83 
    88         /** 
    84         /** 
    89          * map entry is used for queuing service requests
    85          * map entry is used for queuing service requests
    90          */
    86          */
  1193          * @see MWlanScanResultProvider
  1189          * @see MWlanScanResultProvider
  1194          * @param aInterval WLAN BG scan interval in seconds.
  1190          * @param aInterval WLAN BG scan interval in seconds.
  1195          */
  1191          */
  1196         void PublishBgScanInterval( TUint32& aInterval );
  1192         void PublishBgScanInterval( TUint32& aInterval );
  1197 
  1193 
  1198         /**
       
  1199          * Callback method for indicating WLAN Server that WLAN has been
       
  1200          * set ON.
       
  1201          *
       
  1202          * @see MWlmPlatformCallback
       
  1203          */
       
  1204          void WlanOn();
       
  1205          
       
  1206          /**
       
  1207           * Callback method for indicating WLAN Server that WLAN has been
       
  1208           * set OFF.
       
  1209           *
       
  1210           * @see MWlmPlatformCallback
       
  1211           */
       
  1212          void WlanOff();
       
  1213          
       
  1214          /**
       
  1215           * Method for cancelling external requests by type.
       
  1216           * 
       
  1217           * @param aCommand Commands that need to be cancelled
       
  1218           */
       
  1219          void CancelExternalRequestsByType(
       
  1220              const TWLMCommands aCommand );
       
  1221          
       
  1222          /**
       
  1223           * Method for sending notifications to the subscribers
       
  1224           * 
       
  1225           * @param amNotification Notification to be sent.
       
  1226           * @param aParams Notification parameters.
       
  1227           */
       
  1228          void SendNotification(
       
  1229              TWlmNotify amNotification,
       
  1230              TBuf8<KMaxNotificationLength>& aParams );
       
  1231 
       
  1232     private:    // Data
  1194     private:    // Data
  1233     
  1195     
  1234         /**
  1196         /**
  1235          * Pointer to core server
  1197          * Pointer to core server
  1236          */
  1198          */