securitysettings/inc/cpeapplugininterface.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 plugin interface for EAP
       
    16  *   method configuration QT UIs
       
    17  *
       
    18  */
       
    19 
       
    20 /*
       
    21  * %version: 4 %
       
    22  */
       
    23 
       
    24 #ifndef CPEAPPLUGININTERFACE_H
       
    25 #define CPEAPPLUGININTERFACE_H
       
    26 
       
    27 // System includes
       
    28 #include <QtPlugin>
       
    29 #include <QString>
       
    30 #include <eapqtconfiginterface.h>
       
    31 
       
    32 // User includes
       
    33 
       
    34 // Forward declarations
       
    35 class CpBaseSettingView;
       
    36 class EapQtPluginInfo;
       
    37 class EapQtPluginHandle;
       
    38 
       
    39 // External data types
       
    40 
       
    41 // Constants
       
    42 
       
    43 // All plugin stubs MUST be located in /resource/qt/plugins/controlpanel/eapsecurity
       
    44 static const QString CpEapPluginInterfacePluginDirectory(
       
    45     "\\resource\\qt\\plugins\\controlpanel\\eapsecurity");
       
    46 
       
    47 // Class declaration
       
    48 class CpEapPluginInterface
       
    49 {
       
    50 
       
    51 public:
       
    52 
       
    53     // Data types
       
    54 
       
    55     virtual ~CpEapPluginInterface() {};
       
    56 
       
    57     virtual void setSettingsReference(const EapQtConfigInterface::EapBearerType bearer,
       
    58         const int iapId) = 0;
       
    59 
       
    60     virtual QList<EapQtPluginInfo> pluginInfo() = 0;
       
    61 
       
    62     virtual CpBaseSettingView* uiInstance(const EapQtPluginHandle &outerHandle,
       
    63         const EapQtPluginInfo &plugin) = 0;
       
    64 
       
    65 };
       
    66 
       
    67 Q_DECLARE_INTERFACE(CpEapPluginInterface,
       
    68     "com.nokia.plugin.controlpanel.eap.platform.interface/1.0");
       
    69 
       
    70 #endif // CPEAPPLUGININTERFACE_H