webengine/wrtharvester/inc/wrtharvesterregistryaccess.h
branchRCL_3
changeset 35 1f3c3f2f5b0a
parent 25 0ed94ceaa377
child 48 79859ed3eea9
equal deleted inserted replaced
34:220a17280356 35:1f3c3f2f5b0a
    25 
    25 
    26 // FORWARD DECLARATIONS
    26 // FORWARD DECLARATIONS
    27 class CWidgetInfo;
    27 class CWidgetInfo;
    28 
    28 
    29 // CONSTANTS
    29 // CONSTANTS
       
    30 const TInt32 KS60Widget = 1;
    30 template < class T > class RWrtArray : public RPointerArray< T >
    31 template < class T > class RWrtArray : public RPointerArray< T >
    31     {
    32     {
    32     public:
    33     public:
    33         inline RWrtArray() : RPointerArray< T >()
    34         inline RWrtArray() : RPointerArray< T >()
    34             {
    35             {
    70         inline CWrtInfo()
    71         inline CWrtInfo()
    71             {
    72             {
    72             iUid = TUid::Uid(0);
    73             iUid = TUid::Uid(0);
    73             iDisplayName = NULL;
    74             iDisplayName = NULL;
    74             iBundleId = NULL;
    75             iBundleId = NULL;
       
    76             iType = KErrNotFound;
    75             }
    77             }
    76 
    78 
    77         /**
    79         /**
    78         * Destructor.
    80         * Destructor.
    79         */
    81         */
    85 
    87 
    86     public:
    88     public:
    87         TUid        iUid;
    89         TUid        iUid;
    88         HBufC*      iDisplayName;// widget display name
    90         HBufC*      iDisplayName;// widget display name
    89         HBufC*      iBundleId; //  widget bundle identifier
    91         HBufC*      iBundleId; //  widget bundle identifier
       
    92         TInt      iType; // widget type
    90     };
    93     };
    91 
    94 
    92 // CLASS DECLARATION
    95 // CLASS DECLARATION
    93 
    96 
    94 /**
    97 /**
   129         * @param aSession Widget registry session
   132         * @param aSession Widget registry session
   130         * @param aUid UID of widget.
   133         * @param aUid UID of widget.
   131         * @return Yes or no.
   134         * @return Yes or no.
   132         */
   135         */
   133         TBool SupportsMiniviewL( RWidgetRegistryClientSession& aSession, const TUid& aUid );
   136         TBool SupportsMiniviewL( RWidgetRegistryClientSession& aSession, const TUid& aUid );
       
   137                 
       
   138         /**
       
   139         * Check if the widget is wgz.
       
   140         * 
       
   141         * @param aSession Widget registry session
       
   142         * @param aUid UID of widget.
       
   143         * @return Yes or no.
       
   144         */
       
   145         TBool IsNokiaWidget( RWidgetRegistryClientSession& aSession, const TUid& aUid );
   134         
   146         
   135         /**
   147         /**
   136         * Returns the property value for the widget as a string. Ownership transferred.
   148         * Returns the property value for the widget as a string. Ownership transferred.
   137         * 
   149         * 
   138         * @param aSession Widget registry session
   150         * @param aSession Widget registry session