wlanutilities/wlansniffer/aiplugin/inc/wsfaipublishobserver.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 MWsfAiPublishObserver
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef M_WSFAIPUBLISHOBSERVER_H
       
    20 #define M_WSFAIPUBLISHOBSERVER_H
       
    21 
       
    22 #include <e32std.h>
       
    23 
       
    24 class CAknIconArray;
       
    25 class CEikLabel;
       
    26 class CArrayFix< TInt >;
       
    27 /**
       
    28  *  Abstract interface for wlan active idle plugin
       
    29  *
       
    30  */
       
    31 class MWsfAiPublishObserver
       
    32     {
       
    33 public:
       
    34     
       
    35     /**
       
    36     * Publishes images from array and text
       
    37     * @since S60 5.0
       
    38     * @param aPublishIconArray the published icons
       
    39     * @param aText1 title text label
       
    40     */
       
    41     virtual void PublishContentL( CArrayFix< TInt >* aPublishIconArray,
       
    42                                   CEikLabel* aText1 ) = 0;
       
    43     
       
    44     /**
       
    45     * Sets signal strenght and the security string
       
    46     * @since S60 5.0  
       
    47     * @param aStrength siganl strength string
       
    48     * @param aSecure security string
       
    49     */
       
    50     virtual void SetStrengthAndSecure( TDesC* aStrength, 
       
    51                                        TDesC* aSecure ) = 0;
       
    52     
       
    53     /**
       
    54     * Sets Scanning status on/off.
       
    55     * @since S60 5.0
       
    56     * @param aScanState Scanning satus flag
       
    57     */
       
    58     virtual void SetScanningState( TBool aScanState ) = 0;
       
    59     
       
    60     /**
       
    61     * Sets refreshing status on/off.
       
    62     * @since S60 5.0
       
    63     * @param aScanState Refreshing status flag
       
    64     */
       
    65     virtual void SetRefreshingL( TBool aRefreshing ) = 0;
       
    66     
       
    67     /**
       
    68     * Sets refreshing status on/off.
       
    69     * @since S60 5.0
       
    70     * @param aScanState Refreshing status flag
       
    71     */
       
    72     virtual void StartConnectingL() = 0;
       
    73     
       
    74     /**
       
    75     * Publishes state image from array 
       
    76     * @since S60 5.0
       
    77     * @param aPublishIconArray the published icons
       
    78     * @param aText1 title text label
       
    79     */
       
    80     virtual void PublishStatusIconL( CArrayFix<TInt>* aPublishIconArray, 
       
    81                                                 CEikLabel* aText1 ) = 0;
       
    82     
       
    83     };
       
    84 
       
    85 
       
    86 #endif // M_WSFAIPUBLISHOBSERVER_H