wlanutilities/wlansniffer/mainapplication/inc/wsfmainviewcontrollerif.h
branchRCL_3
changeset 24 63be7eb3fc78
parent 23 b852595f5cbe
child 25 f28ada11abbf
equal deleted inserted replaced
23:b852595f5cbe 24:63be7eb3fc78
     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 MWsfMainViewControllerIf
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef M_WSFMAINVIEWCONTROLLERIF_H
       
    19 #define M_WSFMAINVIEWCONTROLLERIF_H
       
    20 
       
    21 
       
    22 #include <e32std.h>
       
    23 
       
    24 //Forward declarations
       
    25 class CWsfWlanInfoArray;
       
    26 class TWsfWlanInfo;
       
    27 class MWsfMainViewPartner;
       
    28 
       
    29 /**
       
    30  *  Mainview controlling interface (Internal)
       
    31  *
       
    32  *  @lib Sniffer.exe
       
    33  *  @since S60 v5.0
       
    34  */
       
    35 class MWsfMainViewControllerIf
       
    36     {
       
    37     public:
       
    38     
       
    39         /**
       
    40          * Updates WLAN list with values passed as parameter
       
    41          * @param aWlanArray list of WLAN
       
    42          * @since S60 5.0
       
    43          */
       
    44         virtual void UpdateWlanListL( CWsfWlanInfoArray* aWlanArray ) = 0;
       
    45 
       
    46         /**
       
    47          * Updates WLAN list with values passed as parameter
       
    48          * when the main view is in the background
       
    49          * @param aWlanArray list of WLAN
       
    50          * @since S60 5.2
       
    51          */
       
    52         virtual void UpdateWlanListInBackgroundL(
       
    53                 CWsfWlanInfoArray* aWlanArray ) = 0;
       
    54     
       
    55         /**
       
    56          * Request to refresh the mainview
       
    57          * @since S60 5.0
       
    58          */
       
    59         virtual void RefreshL( ) = 0;
       
    60     
       
    61         /**
       
    62          * Request to refresh the mainview
       
    63          * @return Details of selected WLAN
       
    64          * @since S60 5.0
       
    65          */
       
    66         virtual TWsfWlanInfo* SelectedItem() = 0;
       
    67        
       
    68         /**
       
    69          * Sets partner object
       
    70          * @aPartner The partner
       
    71          * @since S60 5.0
       
    72          */
       
    73         virtual void SetPartner( MWsfMainViewPartner& aPartner ) = 0;
       
    74     };
       
    75 
       
    76 
       
    77 #endif // M_WSFMAINVIEWCONTROLLERIF_H