diff -r 51c0f5edf5ef -r 3ba40be8e484 ncdengine/provider/deviceinteraction/inc/ncdwidgetregistrydata.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ncdengine/provider/deviceinteraction/inc/ncdwidgetregistrydata.h Fri Mar 12 15:43:14 2010 +0200 @@ -0,0 +1,65 @@ +/* +* 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: Declaration of CExtendedWidgetInfo +* +*/ + +#ifndef NCDEXTENDEDWIDGETINFO_H +#define NCDEXTENDEDWIDGETINFO_H + +// INCLUDES +#include +#include +#include "catalogsutils.h" + +// CONSTANTS + +// MACROS + +// FORWARD DECLARATIONS + +// DATA TYPES + +// FUNCTION PROTOTYPES + +// CLASS DECLARATION + +class CExtendedWidgetInfo : public CBase + { + public: + /** + * Constructor + */ + inline CExtendedWidgetInfo() + { + iUid = TUid::Uid(0); + iVersion = HBufC::New( KWidgetRegistryVal + 1 ); + + } + /** + * Destructor. + */ + inline virtual ~CExtendedWidgetInfo() + { + delete iVersion; + } + + public: + TUid iUid; + HBufC* iVersion; + }; + +typedef RPointerArray RExtendedWidgetInfoArray; + +#endif //NCDEXTENDEDWIDGETINFO