--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/cpsecplugins/simpincodeplugin/src/cppincodeplugin.cpp Fri May 14 16:43:26 2010 +0300
@@ -0,0 +1,62 @@
+/*
+ * 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:
+ *
+ */
+
+// System includes
+#include <cpsettingformentryitemdataimpl.h>
+
+// User includes
+#include "cppincodeplugin.h"
+#include "cppincodepluginview.h"
+
+/*!
+ \class CpPinCodePlugin
+ \brief Pin Code Setting plugin class
+
+ This class is used to create PIN code setting
+*/
+
+// ======== LOCAL FUNCTIONS ========
+
+/*!
+ Constructor
+*/
+CpPinCodePlugin::CpPinCodePlugin()
+{
+}
+
+/*!
+ Destructor
+*/
+CpPinCodePlugin::~CpPinCodePlugin()
+{
+}
+
+/*!
+ Create PinCode setting
+*/
+QList<CpSettingFormItemData *> CpPinCodePlugin::createSettingFormItemData(
+ CpItemDataHelper &itemDataHelper) const
+{
+ return QList<CpSettingFormItemData *>()
+ << new CpSettingFormEntryItemDataImpl<CpPinCodePluginView>
+ (itemDataHelper, tr("PIN code"), QString());
+}
+
+/*!
+ Export plugin
+*/
+Q_EXPORT_PLUGIN2(cppincodeplugin, CpPinCodePlugin);