wlanutilities/wlansniffer/model/inc/wsfmodelobserver.h
branchRCL_3
changeset 25 f28ada11abbf
parent 0 56b72877c1cb
equal deleted inserted replaced
24:63be7eb3fc78 25:f28ada11abbf
       
     1 /*
       
     2 * Copyright (c) 2007-2008 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 "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:  Class header for MWsfModelObserver
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef M_WSFMODELOBSERVER_H
       
    22 #define M_WSFMODELOBSERVER_H
       
    23 
       
    24 //  EXTERNAL INCLUDES
       
    25 #include <e32def.h>
       
    26 #include <e32cmn.h>
       
    27 
       
    28 #include "wsfbrowserlaunchobserver.h"
       
    29 
       
    30  
       
    31 
       
    32 //  CLASS DEFINITION
       
    33 /**
       
    34 * Class acts as an interface for the model to be able to call back its clients
       
    35 * in case of different model events.
       
    36 *
       
    37 * @since S60 5.0
       
    38 */
       
    39 class MWsfModelObserver: public MWsfBrowserLaunchObserver
       
    40     {
       
    41     public:     // Abstract methods
       
    42         /**
       
    43         * Notification that a connection is about to be created
       
    44         * @since S60 5.0
       
    45         * @param aIapId The IAP id of the connection being created
       
    46         */
       
    47         virtual void ConnectingL( TUint32 aIapId ) = 0;
       
    48         
       
    49         /**
       
    50         * Notification that the connection creation process ended
       
    51         * @since S60 5.0
       
    52         * @param aResult The result of the connection creation
       
    53         */
       
    54         virtual void ConnectingFinishedL( TInt aResult ) = 0;
       
    55         
       
    56     };
       
    57 
       
    58 
       
    59 #endif      //  M_WSFMODELOBSERVER_H
       
    60 
       
    61 // End of file
       
    62