diff -r 51c0f5edf5ef -r 3ba40be8e484 ncdengine/provider/server/inc/ncdproviderutils.h --- a/ncdengine/provider/server/inc/ncdproviderutils.h Fri Feb 19 22:57:02 2010 +0200 +++ b/ncdengine/provider/server/inc/ncdproviderutils.h Fri Mar 12 15:43:14 2010 +0200 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2006-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" @@ -111,8 +111,15 @@ */ static TNcdApplicationStatus IsApplicationInstalledL( const TUid& aUid, const TDesC& aVersion ); - + + // check if a widget with given identifier is installed already + static TNcdApplicationStatus IsWidgetInstalledL( + const TDesC& aIdentifier, const TDesC& aVersion ); + + // Calling widget registry API to return the Uid of the widget with given identifier + static TUid WidgetUidL( const TDesC& aIdentifier); + /** * Compares version number strings *