wlanutilities/wlanplugin/inc/wlanplugintimeshifter.h
changeset 0 56b72877c1cb
equal deleted inserted replaced
-1:000000000000 0:56b72877c1cb
       
     1 /*
       
     2 * Copyright (c) 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: 
       
    15 *        Header file for CWlanPluginTimeShifter class.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef C_WLAN_PLUGIN_TIME_SHIFTER
       
    21 #define C_WLAN_PLUGIN_TIME_SHIFTER
       
    22 
       
    23 #include <e32base.h>
       
    24 
       
    25 
       
    26 class CWlanPluginWlanState;
       
    27 
       
    28 
       
    29 NONSHARABLE_CLASS( CWlanPluginTimeShifter ) : public CActive
       
    30     {
       
    31     
       
    32     public:
       
    33         /*
       
    34         * First phase of two phase construction
       
    35         */
       
    36         static CWlanPluginTimeShifter* NewLC(
       
    37                                   CWlanPluginWlanState* aWlanState );
       
    38         
       
    39         /*
       
    40         * First phase of two phase construction
       
    41         */
       
    42         static CWlanPluginTimeShifter* NewL( 
       
    43                                   CWlanPluginWlanState* aState );
       
    44         
       
    45         /*
       
    46         * Destructor
       
    47         */
       
    48         virtual ~CWlanPluginTimeShifter();
       
    49         
       
    50         /*
       
    51         *
       
    52         */
       
    53         void ActivateIt();
       
    54     
       
    55     
       
    56     protected:
       
    57     
       
    58         /**
       
    59         * 
       
    60         * 
       
    61         */
       
    62         void RunL();
       
    63         
       
    64         /**
       
    65         * 
       
    66         * 
       
    67         */
       
    68         void DoCancel();
       
    69         
       
    70         /**
       
    71         * Constructor
       
    72         */
       
    73         CWlanPluginTimeShifter( CWlanPluginWlanState* aWlanState );
       
    74         
       
    75         
       
    76     private:
       
    77                 
       
    78         /*
       
    79         * Second phase of 2 phase construction
       
    80         */
       
    81         void ConstructL();
       
    82     
       
    83     private:
       
    84         
       
    85         /**
       
    86         * @var Pointer to the WLAN state object to ask and set scanning
       
    87         * state.
       
    88         */ 
       
    89         CWlanPluginWlanState * iWlanState;
       
    90     
       
    91        
       
    92     
       
    93     
       
    94     };
       
    95 
       
    96 #endif  //C_WLAN_PLUGIN_TIME_SHIFTER