deviceupdatesui/deviceupdatesplugin/inc/deviceupdatesdata.h
changeset 18 7d11f9a6646f
child 27 516a867811c3
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/deviceupdatesui/deviceupdatesplugin/inc/deviceupdatesdata.h	Fri Apr 16 14:53:31 2010 +0300
@@ -0,0 +1,49 @@
+/*
+* 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 data for control panel
+*
+*/
+
+#ifndef	DEVICEUPDATESDATA_H_
+#define	DEVICEUPDATESDATA_H_
+
+#include <cpsettingformentryitemdata.h>
+
+_LIT( KDMUIProcess, "\\deviceupdates.exe" );
+_LIT( KDMUIName, "deviceupdates" );
+
+
+const TUid KUidSmlSyncApp = { 0x101F6DE5 };
+const TUint32 KNsmlDmUILaunch = 0x00000009;
+
+
+class DeviceUpdateData : public CpSettingFormEntryItemData
+{
+    Q_OBJECT
+public:
+    explicit DeviceUpdateData(CpItemDataHelper &itemDataHelper,
+												const QString &text = QString(),
+												const QString &description = QString(),
+												const HbIcon &icon = HbIcon(),
+												const HbDataFormModelItem *parent = 0);
+    void OpenDmAppL();
+    void CloseDmUi();
+    virtual ~DeviceUpdateData();
+public slots:
+	void onLaunchView();
+private:
+	virtual CpBaseSettingView *createSettingView() const;
+
+};
+#endif//	DEVICEUPDATESVIEW_H_