deviceupdatesui/deviceupdatesplugin/src/deviceupdatesplugin.cpp
branchRCL_3
changeset 24 6757f1e2efd2
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/deviceupdatesui/deviceupdatesplugin/src/deviceupdatesplugin.cpp	Tue Aug 31 15:05:55 2010 +0300
@@ -0,0 +1,43 @@
+/*
+* 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:  Device updates plug-in for control panel
+*
+*/
+
+
+#include <cpitemdatahelper.h>
+#include "deviceupdatesplugin.h"
+#include "deviceupdatesdata.h"
+
+
+
+DeviceUpdatesPlugin::DeviceUpdatesPlugin()
+{
+	
+}
+
+DeviceUpdatesPlugin::~DeviceUpdatesPlugin()
+{
+	
+}
+
+QList<CpSettingFormItemData*> DeviceUpdatesPlugin::createSettingFormItemData(CpItemDataHelper& itemDataHelper) const
+{
+   
+	return QList<CpSettingFormItemData*>()
+					<< new DeviceUpdateData(itemDataHelper, QString("Device updates"),
+                                          QString("Device updates plugin"), HbIcon(":/resources/qtg_large_device_update.svg"));
+}
+
+Q_EXPORT_PLUGIN2( deviceupdatesplugin, DeviceUpdatesPlugin)