deviceupdatesui/deviceupdatesplugin/inc/deviceupdatesdata.h
changeset 33 7464c1e21dae
child 27 516a867811c3
equal deleted inserted replaced
2:a5fecba4b1e4 33:7464c1e21dae
       
     1 /*
       
     2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Device updates data for control panel
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef	DEVICEUPDATESDATA_H_
       
    19 #define	DEVICEUPDATESDATA_H_
       
    20 
       
    21 #include <cpsettingformentryitemdata.h>
       
    22 
       
    23 _LIT( KDMUIProcess, "\\deviceupdates.exe" );
       
    24 _LIT( KDMUIName, "deviceupdates" );
       
    25 
       
    26 
       
    27 const TUid KUidSmlSyncApp = { 0x101F6DE5 };
       
    28 const TUint32 KNsmlDmUILaunch = 0x00000009;
       
    29 
       
    30 
       
    31 class DeviceUpdateData : public CpSettingFormEntryItemData
       
    32 {
       
    33     Q_OBJECT
       
    34 public:
       
    35     explicit DeviceUpdateData(CpItemDataHelper &itemDataHelper,
       
    36 												const QString &text = QString(),
       
    37 												const QString &description = QString(),
       
    38 												const HbIcon &icon = HbIcon(),
       
    39 												const HbDataFormModelItem *parent = 0);
       
    40     void OpenDmAppL();
       
    41     void CloseDmUi();
       
    42     virtual ~DeviceUpdateData();
       
    43 public slots:
       
    44 	void onLaunchView();
       
    45 private:
       
    46 	virtual CpBaseSettingView *createSettingView() const;
       
    47 
       
    48 };
       
    49 #endif//	DEVICEUPDATESVIEW_H_