accesssec_plat/eap_qt_configuration_api/inc/eapqtplugininfo.h
changeset 26 9abfd4f00d37
child 27 9660a5eb236f
equal deleted inserted replaced
25:e03a3db4489e 26:9abfd4f00d37
       
     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  *   Control Panel EAP plugin information
       
    16  *
       
    17  */
       
    18 
       
    19 /*
       
    20  * %version: 1 %
       
    21  */
       
    22 
       
    23 #ifndef EAPQTPLUGININFO_H
       
    24 #define EAPQTPLUGININFO_H
       
    25 
       
    26 #include <QString>
       
    27 
       
    28 #ifdef BUILD_EAP_QT_PLUGIN_INFO_DLL
       
    29 #define EAP_QT_PLUGIN_INFO_EXPORT Q_DECL_EXPORT
       
    30 #else
       
    31 #define EAP_QT_PLUGIN_INFO_EXPORT Q_DECL_IMPORT
       
    32 #endif
       
    33 
       
    34 class EapQtPluginHandle;
       
    35 class EapQtPluginInfoPrivate;
       
    36 
       
    37 class EAP_QT_PLUGIN_INFO_EXPORT EapQtPluginInfo
       
    38 {
       
    39 public:
       
    40     EapQtPluginInfo(const EapQtPluginInfo & info);
       
    41     EapQtPluginInfo(EapQtPluginHandle id, QString locId, int orderNumber );
       
    42     ~EapQtPluginInfo();
       
    43 
       
    44     EapQtPluginHandle pluginHandle() const;
       
    45     QString localizationId() const;
       
    46     int orderNumber() const;
       
    47 
       
    48     EapQtPluginInfo &operator=(const EapQtPluginInfo &info);
       
    49     
       
    50 private:
       
    51     EapQtPluginInfo();
       
    52 
       
    53     QScopedPointer<EapQtPluginInfoPrivate> d_ptr;
       
    54 };
       
    55 
       
    56 #endif