wlan_bearer/wlanengine/wlan_symbian/wlanengine_symbian_3.1/inc/wlmsystemnotify.h
branchRCL_3
changeset 18 d3d7683d16f5
parent 17 a828660c511c
equal deleted inserted replaced
17:a828660c511c 18:d3d7683d16f5
     1 /*
     1 /*
     2 * Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2002-2006 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of the License "Eclipse Public License v1.0"
     5 * under the terms of the License "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    18 
    18 
    19 #ifndef WLMSYSTEMNOTIFY_H
    19 #ifndef WLMSYSTEMNOTIFY_H
    20 #define WLMSYSTEMNOTIFY_H
    20 #define WLMSYSTEMNOTIFY_H
    21 
    21 
    22 #include "wlmclientserver.h"
    22 #include "wlmclientserver.h"
    23 #include "wlanerrorcodes.h"
       
    24 
    23 
    25 enum TWlmIconStatus
    24 enum TWlmIconStatus
    26     {
    25     {
    27     EWlmIconStatusNotAvailable,
    26     EWlmIconStatusNotAvailable,
    28     EWlmIconStatusAvailable,
    27     EWlmIconStatusAvailable,
    29     EWlmIconStatusConnected,
    28     EWlmIconStatusConnected,
    30     EWlmIconStatusConnectedSecure
    29     EWlmIconStatusConnectedSecure
    31     };
       
    32 
       
    33 /**
       
    34  * WLAN on/off states are used as status codes for status
       
    35  * requests and therefore they are mapped directly to
       
    36  * corresponding error codes.
       
    37  */
       
    38 enum TWlanOnOffState
       
    39     {
       
    40     EWlanOff = KErrWlanOff,
       
    41     EWlanForceOff = KErrWlanForceOff,
       
    42     EWlanOn = 0
       
    43     };
    30     };
    44 
    31 
    45 /** 
    32 /** 
    46 * Callback interface for system data notification services.
    33 * Callback interface for system data notification services.
    47 *
    34 *
    78         
    65         
    79         /**
    66         /**
    80         * BT connection has been disconnected.        
    67         * BT connection has been disconnected.        
    81         */
    68         */
    82         virtual void BtConnectionDisabled() = 0;
    69         virtual void BtConnectionDisabled() = 0;
    83         
       
    84         /**
       
    85          * WLAN has been set ON.
       
    86          */
       
    87         virtual void WlanOn() = 0;
       
    88         
       
    89         /**
       
    90          * WLAN has been set OFF.
       
    91          */
       
    92         virtual void WlanOff() = 0;
       
    93     };
    70     };
    94 
    71 
    95 #endif // WLMSYSTEMNOTIFY_H
    72 #endif // WLMSYSTEMNOTIFY_H