wlan_bearer/wlanengine/wlan_symbian/wlanengine_symbian_3.1/inc/wlmsystemnotify.h
changeset 0 c40eb8fe8501
child 19 629e60dfa279
child 42 a828660c511c
equal deleted inserted replaced
-1:000000000000 0:c40eb8fe8501
       
     1 /*
       
     2 * Copyright (c) 2002-2006 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the License "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Definition for the system data notification service callback interface.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef WLMSYSTEMNOTIFY_H
       
    20 #define WLMSYSTEMNOTIFY_H
       
    21 
       
    22 #include "wlmclientserver.h"
       
    23 
       
    24 enum TWlmIconStatus
       
    25     {
       
    26     EWlmIconStatusNotAvailable,
       
    27     EWlmIconStatusAvailable,
       
    28     EWlmIconStatusConnected,
       
    29     EWlmIconStatusConnectedSecure
       
    30     };
       
    31 
       
    32 /** 
       
    33 * Callback interface for system data notification services.
       
    34 *
       
    35 * These virtual methods should be implemented by the client if it
       
    36 * needs any notifications.
       
    37 * @lib
       
    38 * @since Series 60 3.0
       
    39 */
       
    40 class MWlmSystemNotify
       
    41     {
       
    42     public:
       
    43 
       
    44         /**
       
    45         * System Mode has changed.
       
    46         */
       
    47         virtual void SystemModeChanged(
       
    48             TWlanSystemMode /* aOldMode */,
       
    49             TWlanSystemMode /* aNewMode */ ) = 0;
       
    50 
       
    51         /**
       
    52         * Emergency call has started, WLAN is forced to be enabled.
       
    53         */
       
    54         virtual void EmergencyCallEstablished() = 0;
       
    55         
       
    56         /** 
       
    57         * Emergency call has ended, WLAN is not forced to be enabled anymore.
       
    58         */
       
    59         virtual void EmergencyCallCompleted( TWlanSystemMode /* aNewMode */ ) = 0;
       
    60                        
       
    61         /**
       
    62         * BT connection has been established.
       
    63         */
       
    64         virtual void BtConnectionEstablished() = 0;
       
    65         
       
    66         /**
       
    67         * BT connection has been disconnected.        
       
    68         */
       
    69         virtual void BtConnectionDisabled() = 0;
       
    70     };
       
    71 
       
    72 #endif // WLMSYSTEMNOTIFY_H