diff -r 79859ed3eea9 -r 919f36ff910f webengine/wrtharvester/inc/wrtharvesterregistryaccess.h --- a/webengine/wrtharvester/inc/wrtharvesterregistryaccess.h Tue Aug 31 16:17:46 2010 +0300 +++ b/webengine/wrtharvester/inc/wrtharvesterregistryaccess.h Wed Sep 01 12:28:30 2010 +0100 @@ -20,13 +20,14 @@ #define WRHARVESTERREGISTRYACCESS_H // INCLUDES -#include +#include #include // FORWARD DECLARATIONS class CWidgetInfo; // CONSTANTS +const TInt32 KS60Widget = 1; template < class T > class RWrtArray : public RPointerArray< T > { public: @@ -72,6 +73,7 @@ iUid = TUid::Uid(0); iDisplayName = NULL; iBundleId = NULL; + iType = KErrNotFound; } /** @@ -87,6 +89,7 @@ TUid iUid; HBufC* iDisplayName;// widget display name HBufC* iBundleId; // widget bundle identifier + TInt iType; // widget type }; // CLASS DECLARATION @@ -131,6 +134,15 @@ * @return Yes or no. */ TBool SupportsMiniviewL( RWidgetRegistryClientSession& aSession, const TUid& aUid ); + + /** + * Check if the widget is wgz. + * + * @param aSession Widget registry session + * @param aUid UID of widget. + * @return Yes or no. + */ + TBool IsNokiaWidget( RWidgetRegistryClientSession& aSession, const TUid& aUid ); /** * Returns the property value for the widget as a string. Ownership transferred.