securitysettings/cpeapuiplugins/cpeapsimakaui/src/cpeapsimakaplugin.cpp
changeset 34 ad1f037f1ac2
parent 26 9abfd4f00d37
equal deleted inserted replaced
31:372d2d6c5cf9 34:ad1f037f1ac2
     1 /*
     1 /*
     2  * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
     2  * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3  * All rights reserved.
     3  * All rights reserved.
     4  * This component and the accompanying materials are made available
     4  * This component and the accompanying materials are made available
     5  * under the terms of the License "Eclipse Public License v1.0"
     5  * under the terms of "Eclipse Public License v1.0"
     6  * which accompanies this distribution, and is available
     6  * which accompanies this distribution, and is available
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     8  *
     8  *
     9  * Initial Contributors:
     9  * Initial Contributors:
    10  * Nokia Corporation - initial contribution.
    10  * Nokia Corporation - initial contribution.
    16  *   method configuration
    16  *   method configuration
    17  *
    17  *
    18  */
    18  */
    19 
    19 
    20 /*
    20 /*
    21  * %version:  8 %
    21  * %version:  10 %
    22  */
    22  */
    23 
    23 
    24 // System includes
    24 // System includes
    25 #include <eapqtpluginhandle.h>
    25 #include <eapqtpluginhandle.h>
    26 
    26 
    36 
    36 
    37 // External function prototypes
    37 // External function prototypes
    38 
    38 
    39 // Local constants
    39 // Local constants
    40 
    40 
    41 // Order numbers
    41 Q_EXPORT_PLUGIN2(CpEapSimAkaPlugin, CpEapSimAkaPlugin);
    42 static const int order_eapsim(60);
       
    43 static const int order_eapaka(70);
       
    44 
       
    45 Q_EXPORT_PLUGIN2(CpEapSimAkaPlugin, CpEapSimAkaPlugin)
       
    46 ;
       
    47 
    42 
    48 // ======== LOCAL FUNCTIONS ========
    43 // ======== LOCAL FUNCTIONS ========
    49 
    44 
    50 // ======== MEMBER FUNCTIONS ========
    45 // ======== MEMBER FUNCTIONS ========
    51 
    46 
    91 QList<EapQtPluginInfo> CpEapSimAkaPlugin::pluginInfo()
    86 QList<EapQtPluginInfo> CpEapSimAkaPlugin::pluginInfo()
    92 {
    87 {
    93     qDebug("CpEapSimAkaPlugin: provide plugin info");
    88     qDebug("CpEapSimAkaPlugin: provide plugin info");
    94     QList<EapQtPluginInfo> ret;
    89     QList<EapQtPluginInfo> ret;
    95 
    90 
    96     ret.append(EapQtPluginInfo(EapQtPluginHandle::PluginEapSim,  
    91     ret.append(EapQtPluginInfo(
    97         EapUiStrings::EapSim, order_eapsim) );
    92         EapQtPluginHandle::PluginEapSim,
    98     
    93         EapQtUiConstants::StringEapSim,
    99     ret.append(EapQtPluginInfo(EapQtPluginHandle::PluginEapAka, 
    94         EapQtUiConstants::OrderEapSim));
   100         EapUiStrings::EapAka, order_eapaka) );
    95 
       
    96     ret.append(EapQtPluginInfo(
       
    97         EapQtPluginHandle::PluginEapAka,
       
    98         EapQtUiConstants::StringEapAka,
       
    99         EapQtUiConstants::OrderEapAka));
   101 
   100 
   102     return ret;
   101     return ret;
   103 }
   102 }
   104 
   103 
   105 /*!
   104 /*!