securitysettings/inc/eapqtconfiginterface.h
changeset 33 938269283a16
parent 22 093cf0757204
child 38 7a0216d033ac
equal deleted inserted replaced
22:093cf0757204 33:938269283a16
     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 the License "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  *   EAP method configuration QT interface
       
    16  *
       
    17  */
       
    18 
       
    19 /*
       
    20  * %version: 1 %
       
    21  */
       
    22 
       
    23 #ifndef EAPQTCONFIGINTERFACE_H
       
    24 #define EAPQTCONFIGINTERFACE_H
       
    25 
       
    26 #include <qglobal.h>
       
    27 
       
    28 #ifdef BUILD_EAP_QT_CONFIG_INTERFACE_DLL
       
    29 #define EAP_QT_CONFIG_INTERFACE_EXPORT Q_DECL_EXPORT
       
    30 #else
       
    31 #define EAP_QT_CONFIG_INTERFACE_EXPORT Q_DECL_IMPORT
       
    32 #endif
       
    33 
       
    34 class EapQtPluginInfo;
       
    35 class EapQtPluginHandle;
       
    36 class CpBaseSettingView;
       
    37 
       
    38 class EAP_QT_CONFIG_INTERFACE_EXPORT EapQtConfigInterface
       
    39 {
       
    40 public:
       
    41     enum EapBearerType
       
    42     {
       
    43         EapBearerTypeWlan, EapBearerTypeVpn,
       
    44     };
       
    45 public:
       
    46     EapQtConfigInterface(const EapBearerType bearerType, const int databaseIndex);
       
    47     ~EapQtConfigInterface();
       
    48 
       
    49     QList<EapQtPluginInfo> supportedOuterTypes() const;
       
    50 
       
    51     CpBaseSettingView *uiInstance(const EapQtPluginHandle& pluginInfo) const;
       
    52 
       
    53 private:
       
    54 };
       
    55 
       
    56 #endif
       
    57