wlan_bearer/wlanpsmplugin/inc/wlanpsmplugin.h
changeset 0 c40eb8fe8501
equal deleted inserted replaced
-1:000000000000 0:c40eb8fe8501
       
     1 /*
       
     2 * Copyright (c) 2002-2009 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:   hdr file for WLAN PSM plug-in
       
    15 *
       
    16 */
       
    17 
       
    18 /*
       
    19 * %version: 4 %
       
    20 */
       
    21 
       
    22 #ifndef WLANPSMPLUGIN_H
       
    23 #define WLANPSMPLUGIN_H
       
    24 
       
    25 //  INCLUDES
       
    26 #include <e32std.h>
       
    27 #include <e32base.h>
       
    28 
       
    29 #include <psmpluginbase.h>
       
    30 
       
    31 #include "rwlmserver.h"
       
    32 
       
    33 class MPsmSettingsProvider;
       
    34 
       
    35 /**
       
    36  *  WLAN PSM plugin
       
    37  *  This class implements WLAN PSM plugin logic.
       
    38  *  
       
    39  *  @since S60 S60 v5.1
       
    40  */
       
    41 class CWlanPsmPlugin : public CPsmPluginBase
       
    42     {
       
    43 public:  // Constructors and destructor
       
    44     
       
    45     /**
       
    46     * Two-phased constructor.
       
    47     * @return The created object.
       
    48     */
       
    49     static CWlanPsmPlugin* NewL( TPsmPluginCTorParams& initParams );
       
    50     
       
    51     /**
       
    52     * Destructor.
       
    53     */
       
    54     virtual ~CWlanPsmPlugin();
       
    55 
       
    56 public: 
       
    57     
       
    58     // From CPsmPluginBase
       
    59     void NotifyModeChange( const TInt aMode );
       
    60     
       
    61 private:
       
    62     CWlanPsmPlugin( TPsmPluginCTorParams& aInitParams );
       
    63     void ConstructL();
       
    64     void NotifyModeChangeL( const TInt aMode );
       
    65 
       
    66 private: // data
       
    67     
       
    68     /**
       
    69      * Interface to WLAN Engine. 
       
    70      */
       
    71     RWLMServer iWlmServer;
       
    72 
       
    73     };
       
    74 
       
    75 #endif // WLANPSMPLUGIN_H