wlanutilities/wlanentryplugin/inc/cpwlanentryplugin.h
branchRCL_3
changeset 25 f28ada11abbf
parent 24 63be7eb3fc78
equal deleted inserted replaced
24:63be7eb3fc78 25:f28ada11abbf
     1 /*
       
     2 * Copyright (c) 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: 
       
    15 * WLAN Entry plugin implementation.
       
    16 */
       
    17  
       
    18 #ifndef	CPWLANENTRYPLUGIN_H
       
    19 #define	CPWLANENTRYPLUGIN_H
       
    20 
       
    21 // System includes
       
    22 
       
    23 #include <QObject>
       
    24 #include <QSharedPointer>
       
    25 #include <cpplugininterface.h>
       
    26 
       
    27 // User includes
       
    28 
       
    29 // Forward declarations
       
    30 
       
    31 class HbTranslator;
       
    32 
       
    33 // External data types
       
    34 
       
    35 // Constants
       
    36 
       
    37 // Class declaration
       
    38 
       
    39 class CpWlanEntryPlugin : public QObject, public CpPluginInterface
       
    40 {
       
    41     Q_OBJECT
       
    42     Q_INTERFACES(CpPluginInterface)
       
    43     
       
    44 public:
       
    45 
       
    46     // Data types
       
    47 
       
    48     CpWlanEntryPlugin();
       
    49     
       
    50     virtual ~CpWlanEntryPlugin();
       
    51     
       
    52     virtual QList<CpSettingFormItemData *> createSettingFormItemData(
       
    53         CpItemDataHelper &itemDataHelper) const;
       
    54 
       
    55 signals:
       
    56 
       
    57 public slots:
       
    58 
       
    59 protected:
       
    60 
       
    61 protected slots:
       
    62 
       
    63 private:
       
    64 
       
    65     Q_DISABLE_COPY(CpWlanEntryPlugin)
       
    66 
       
    67 private slots:
       
    68 
       
    69 private: // data
       
    70 
       
    71     //! WLAN dynamic ON/OFF configuration
       
    72     bool mWlanSupported;
       
    73     //! Translator for text ID's used in this plugin
       
    74     QSharedPointer<HbTranslator> mTranslator;
       
    75 
       
    76     // Friend classes
       
    77 };
       
    78 
       
    79 #endif	// CPWLANENTRYPLUGIN_H