webengine/wrtharvester/inc/wrtharvesterregistryaccess.h
branchRCL_3
changeset 59 1f3c3f2f5b0a
parent 36 0ed94ceaa377
child 93 79859ed3eea9
--- a/webengine/wrtharvester/inc/wrtharvesterregistryaccess.h	Fri Mar 12 15:48:51 2010 +0200
+++ b/webengine/wrtharvester/inc/wrtharvesterregistryaccess.h	Mon Mar 15 12:44:50 2010 +0200
@@ -27,6 +27,7 @@
 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.