--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/cpsecplugins/devicelockplugin/src/cpdevicelockplugin.cpp Tue Aug 31 16:04:40 2010 +0300
@@ -0,0 +1,71 @@
+/*
+ * Copyright (c) 2009 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:
+ *
+ */
+#include "cpdevicelockplugin.h"
+#include "cpdevicelockpluginview.h"
+#include <cpsettingformentryitemdataimpl.h>
+#include <../../inc/cpsecplugins.h>
+
+
+/*
+ *****************************************************************
+ * Name : CpDeviceLockPlugin
+ * Parameters : None
+ * Return value: None
+ * Description : constructor
+ *****************************************************************
+ */
+CpDeviceLockPlugin::CpDeviceLockPlugin()
+{
+ RDEBUG("0", 0);
+}
+
+
+/*
+ *****************************************************************
+ * Name : ~CpDeviceLockPlugin
+ * Parameters : None
+ * Return value: None
+ * Description : destructor
+ *****************************************************************
+ */
+CpDeviceLockPlugin::~CpDeviceLockPlugin()
+{
+}
+
+
+/*
+ *****************************************************************
+ * Name : createSettingFormItemData
+ * Parameters : CpItemDataHelper
+ * Return value: QLsit<CpSettingFormItemData>*
+ * Description : creates a data form for device lock settings
+ *****************************************************************
+ */
+QList<CpSettingFormItemData*> CpDeviceLockPlugin::createSettingFormItemData(CpItemDataHelper &itemDataHelper) const
+{
+ RDEBUG("0", 0);
+ RDEBUG("using icon", 1);
+ return QList<CpSettingFormItemData*>()
+ << new CpSettingFormEntryItemDataImpl<CpDeviceLockPluginView>(
+ itemDataHelper,
+ tr("Device lock"), // text
+ QString(), // description
+ HbIcon(QString("qtg_large_device_lock")) // icon
+ );
+}
+
+Q_EXPORT_PLUGIN2(cpdevicelockplugin, CpDeviceLockPlugin);