wlan_bearer/wlanengine/wlan_symbian/wlanengine_symbian_3.1/inc/wlmsystemnotify.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 02 Feb 2010 02:03:13 +0200
changeset 0 c40eb8fe8501
child 17 a828660c511c
permissions -rw-r--r--
Revision: 201003 Kit: 201005

/*
* Copyright (c) 2002-2006 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of the License "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  Definition for the system data notification service callback interface.
*
*/


#ifndef WLMSYSTEMNOTIFY_H
#define WLMSYSTEMNOTIFY_H

#include "wlmclientserver.h"

enum TWlmIconStatus
    {
    EWlmIconStatusNotAvailable,
    EWlmIconStatusAvailable,
    EWlmIconStatusConnected,
    EWlmIconStatusConnectedSecure
    };

/** 
* Callback interface for system data notification services.
*
* These virtual methods should be implemented by the client if it
* needs any notifications.
* @lib
* @since Series 60 3.0
*/
class MWlmSystemNotify
    {
    public:

        /**
        * System Mode has changed.
        */
        virtual void SystemModeChanged(
            TWlanSystemMode /* aOldMode */,
            TWlanSystemMode /* aNewMode */ ) = 0;

        /**
        * Emergency call has started, WLAN is forced to be enabled.
        */
        virtual void EmergencyCallEstablished() = 0;
        
        /** 
        * Emergency call has ended, WLAN is not forced to be enabled anymore.
        */
        virtual void EmergencyCallCompleted( TWlanSystemMode /* aNewMode */ ) = 0;
                       
        /**
        * BT connection has been established.
        */
        virtual void BtConnectionEstablished() = 0;
        
        /**
        * BT connection has been disconnected.        
        */
        virtual void BtConnectionDisabled() = 0;
    };

#endif // WLMSYSTEMNOTIFY_H