diff -r 30e048a7b597 -r bad0cc58d154 accesssec_plat/eap_qt_configuration_api/inc/eapqtplugininfo.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/accesssec_plat/eap_qt_configuration_api/inc/eapqtplugininfo.h Tue Aug 31 15:16:37 2010 +0300 @@ -0,0 +1,81 @@ +/* + * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). + * All rights reserved. + * This component and the accompanying materials are made available + * under the terms of "Eclipse Public License v1.0" + * which accompanies this distribution, and is available + * at the URL "http://www.eclipse.org/legal/epl-v10.html". + * + * Initial Contributors: + * Nokia Corporation - initial contribution. + * + * Contributors: + * + * Description: + * EAP UI plugin information + * + */ + +/* + * %version: 5 % + */ + +#ifndef EAPQTPLUGININFO_H +#define EAPQTPLUGININFO_H + +// System includes +#include +#include + +// User includes + +// Forward declarations +class EapQtPluginHandle; +class EapQtPluginInfoPrivate; + +// External data types + +// Constants + +// Class declaration +class EAP_QT_PLUGIN_INFO_EXPORT EapQtPluginInfo +{ + +public: + + // Data types + + // copy constructor + EapQtPluginInfo(const EapQtPluginInfo &info); + + // constructs an instance from an plugin handle, + // plugin name as a string (e.g. "EAP-SIM") used on the UI, and oder number; + // order number specifies the location of the plugin in lists of + // EAP plugins shown on the UI + EapQtPluginInfo(const EapQtPluginHandle &id, const QString &locId, const int orderNumber ); + + // destructor + ~EapQtPluginInfo(); + + // returns plugin handle of the instance + EapQtPluginHandle pluginHandle() const; + + // returns plugin name string of the instance + QString localizationId() const; + + // returns order number of the instance + int orderNumber() const; + + // assignment + EapQtPluginInfo &operator=(const EapQtPluginInfo &info); + +private: + EapQtPluginInfo(); + +private: // data + + QScopedPointer d_ptr; + +}; + +#endif // EAPQTPLUGININFO_H