wlanutilities/wlansniffer/mainapplication/inc/wsfdetailsviewcontrollerif.h
changeset 19 10810c91db26
parent 3 ff3b37722600
child 22 498f36116140
equal deleted inserted replaced
3:ff3b37722600 19:10810c91db26
     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 MWsfDetailsViewControllerIf
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef M_WSFDETAILSVIEWCONTROLLERIF_H
       
    19 #define M_WSFDETAILSVIEWCONTROLLERIF_H
       
    20 
       
    21 // INCLUDES
       
    22 #include <e32base.h>
       
    23 
       
    24 
       
    25 //FORWARD DECLARATIONS
       
    26 class CWsfWlanInfoArray;
       
    27 class MWsfDetailsViewPartner;
       
    28 
       
    29 /**
       
    30  *  Interface between app level controller and details view controller
       
    31  */
       
    32 class MWsfDetailsViewControllerIf
       
    33     {
       
    34 
       
    35     public:
       
    36 
       
    37         /**
       
    38          * Set the Wlan array & selected item from main view to details view
       
    39          * @since S60 5.0
       
    40          * @param aWlanArray Current Wlan Array
       
    41          * @param aSelectedWlanSsid Selected Wlan from Main view
       
    42          */
       
    43         virtual void SetWlanListL( CWsfWlanInfoArray* aWlanArray, 
       
    44                                    const TDesC8& aSelectedWlanSsid ) = 0;
       
    45 
       
    46         /**
       
    47          * Wlan array has been chaged eg. some wlan dropped or new found
       
    48          * @since S60 5.0
       
    49          * @param aWlanArray Current Wlan Array
       
    50          */
       
    51         virtual void WlanListChangedL( CWsfWlanInfoArray* aWlanArray ) = 0;
       
    52 
       
    53         /**
       
    54          * Refresh -> draw current model to view
       
    55          * @since S60 5.0
       
    56          */
       
    57         virtual void RefreshL() = 0;
       
    58         
       
    59         /**
       
    60          * Sets partner object
       
    61          * @since S60 5.0
       
    62          * @param aPartner The current partner object
       
    63          */
       
    64         virtual void SetPartner( MWsfDetailsViewPartner& aPartner ) = 0;
       
    65 
       
    66     };
       
    67 
       
    68 
       
    69 #endif // M_WSFDETAILSVIEWCONTROLLERIF_H
       
    70