--- a/securitysettings/qtconfigutils/eapqtconfiginterface/src/eapqtconfiginterface.cpp Wed Jun 23 18:14:55 2010 +0300
+++ b/securitysettings/qtconfigutils/eapqtconfiginterface/src/eapqtconfiginterface.cpp Tue Jul 06 14:18:35 2010 +0300
@@ -2,7 +2,7 @@
* 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 the License "Eclipse Public License v1.0"
+ * 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".
*
@@ -17,21 +17,30 @@
*/
/*
- * %version: 21 %
+ * %version: 25 %
*/
+// System includes
#include <QList>
-
#include <eapqtconfiginterface.h>
#include <eapqtexpandedeaptype.h>
+// User includes
#include "eapqtconfiginterface_p.h"
#include "cpeapplugininterface.h"
-//----------------------------------------------------------------------------
-// EapQtConfigInterface
-//----------------------------------------------------------------------------
+/*!
+ * \class EapQtConfigInterface
+ * \brief Public implementation of EAP QT configuration interface
+ */
+// External function prototypes
+
+// Local constants
+
+// ======== LOCAL FUNCTIONS ========
+
+// ======== MEMBER FUNCTIONS ========
EapQtConfigInterface::EapQtConfigInterface() :
d_ptr(new EapQtConfigInterfacePrivate)
@@ -58,11 +67,16 @@
return d_ptr->supportedOuterTypes();
}
-QList<EapQtPluginInfo> EapQtConfigInterface::supportedInnerTypes(const EapQtPluginHandle outerType) const
+QList<EapQtPluginInfo> EapQtConfigInterface::supportedInnerTypes(const EapQtPluginHandle &outerType) const
{
return d_ptr->supportedInnerTypes(outerType);
}
+bool EapQtConfigInterface::updateCertificates() const
+{
+ return d_ptr->updateCertificates();
+}
+
QList<EapQtCertificateInfo> EapQtConfigInterface::certificateAuthorityCertificates() const
{
return d_ptr->certificateAuthorityCertificates();
@@ -73,7 +87,7 @@
return d_ptr->userCertificates();
}
-CpBaseSettingView *EapQtConfigInterface::uiInstance(const EapQtPluginHandle& outerHandle,
+CpBaseSettingView *EapQtConfigInterface::uiInstance(const EapQtPluginHandle &outerHandle,
const EapQtPluginHandle &pluginHandle) const
{
return d_ptr->uiInstance(outerHandle, pluginHandle);
@@ -84,30 +98,30 @@
return d_ptr->selectedOuterTypes();
}
-bool EapQtConfigInterface::isSupportedOuterType(const EapQtPluginHandle& handle) const
+bool EapQtConfigInterface::isSupportedOuterType(const EapQtPluginHandle &handle) const
{
return d_ptr->isSupportedOuterType(handle);
}
-bool EapQtConfigInterface::isSupportedInnerType(const EapQtPluginHandle& outerHandle,
+bool EapQtConfigInterface::isSupportedInnerType(const EapQtPluginHandle &outerHandle,
const EapQtPluginHandle& innerHandle) const
{
return d_ptr->isSupportedInnerType(outerHandle, innerHandle);
}
-bool EapQtConfigInterface::setSelectedOuterTypes(const QList<EapQtPluginHandle>& outerHandles) const
+bool EapQtConfigInterface::setSelectedOuterTypes(const QList<EapQtPluginHandle> &outerHandles) const
{
return d_ptr->setSelectedOuterTypes(outerHandles);
}
-bool EapQtConfigInterface::readConfiguration(const EapQtPluginHandle& outerHandle,
- const EapQtPluginHandle& pluginHandle, EapQtConfig &config) const
+bool EapQtConfigInterface::readConfiguration(const EapQtPluginHandle &outerHandle,
+ const EapQtPluginHandle &pluginHandle, EapQtConfig &config) const
{
return d_ptr->readConfiguration(outerHandle, pluginHandle, config);
}
-bool EapQtConfigInterface::saveConfiguration(const EapQtPluginHandle& pluginInfo,
- EapQtConfig &config) const
+bool EapQtConfigInterface::saveConfiguration(const EapQtPluginHandle &pluginInfo,
+ const EapQtConfig &config) const
{
return d_ptr->saveConfiguration(pluginInfo, config);
}
@@ -117,8 +131,24 @@
return d_ptr->deleteConfiguration();
}
-EapQtValidator *EapQtConfigInterface::validatorEap(EapQtExpandedEapType type,
- EapQtConfig::SettingsId id)
+EapQtValidator *EapQtConfigInterface::validatorEap(const EapQtExpandedEapType &type,
+ const EapQtConfig::SettingsId id) const
{
return d_ptr->validatorEap(type, id);
}
+
+bool EapQtConfigInterface::readPacStoreConfiguration(EapQtPacStoreConfig &config) const
+{
+ return d_ptr->readPacStoreConfiguration(config);
+}
+
+bool EapQtConfigInterface::savePacStoreConfiguration(const EapQtPacStoreConfig &config) const
+{
+ return d_ptr->savePacStoreConfiguration(config);
+}
+
+EapQtValidator *EapQtConfigInterface::validatorPacStore(
+ const EapQtPacStoreConfig::PacStoreSettings id) const
+{
+ return d_ptr->validatorPacStore(id);
+}