securitysettings/cpeapuiplugins/cpeapuserpasswordui/inc/cpeapuserpasswordplugin.h
branchRCL_3
changeset 46 c74b3d9f6b9e
parent 45 bad0cc58d154
child 55 9c2aa05919d9
equal deleted inserted replaced
45:bad0cc58d154 46:c74b3d9f6b9e
     1 /*
       
     2  * Copyright (c) 2010 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  *   Control Panel QT plugin for username-password based 
       
    16  *   EAP method configuration
       
    17  *
       
    18  */
       
    19 
       
    20 /*
       
    21  * %version: 8 %
       
    22  */
       
    23 
       
    24 #ifndef CPEAPUSERPASSWORDPLUGIN_H
       
    25 #define CPEAPUSERPASSWORDPLUGIN_H
       
    26 
       
    27 // System includes
       
    28 #include <QObject>
       
    29 // User includes
       
    30 #include "cpeapplugininterface.h"
       
    31 
       
    32 // Forward declarations
       
    33 
       
    34 // External data types
       
    35 
       
    36 // Constants
       
    37 
       
    38 /*!
       
    39  * @addtogroup group_eap_ui_plugin_userpassword
       
    40  * @{
       
    41  */
       
    42 class CpEapUserPasswordPlugin: public QObject, public CpEapPluginInterface
       
    43 {
       
    44     Q_OBJECT
       
    45     Q_INTERFACES(CpEapPluginInterface)
       
    46 
       
    47 public:
       
    48     CpEapUserPasswordPlugin();
       
    49     ~CpEapUserPasswordPlugin();
       
    50 
       
    51     void setSettingsReference(const EapQtConfigInterface::EapBearerType bearer, const int iapId);
       
    52     QList<EapQtPluginInfo> pluginInfo();
       
    53     CpBaseSettingView* uiInstance(const EapQtPluginHandle& outerHandle,
       
    54         const EapQtPluginInfo &plugin);
       
    55 
       
    56 private:
       
    57     EapQtConfigInterface::EapBearerType mBearer;
       
    58     int mIapId;
       
    59 };
       
    60 
       
    61 /*! @} */
       
    62 
       
    63 #endif