contentstorage/casrv/cawidgetscanner/inc/cawidgetdescription.h
changeset 93 82b66994846c
parent 89 1e87eb3b400f
child 94 dbb8300717f7
equal deleted inserted replaced
92:782e3408c2ab 93:82b66994846c
    67 
    67 
    68     /*
    68     /*
    69      * MMC id setter
    69      * MMC id setter
    70      * @param aMmcId MMC id
    70      * @param aMmcId MMC id
    71      */
    71      */
    72     void SetMmcId( TUint aMmcId );
    72     void SetMmcIdL( const TDesC& aMmcId );
    73 
    73 
    74     /*
    74     /*
    75      * PackageUid setter
    75      * PackageUid setter
    76      * @param aPackageUid package UID
    76      * @param aPackageUid package UID
    77      */
    77      */
   110     /*
   110     /*
   111      * Path setter
   111      * Path setter
   112      * @param aLibrary widget library
   112      * @param aLibrary widget library
   113      */
   113      */
   114     void SetPathL( const TDesC& aPath );
   114     void SetPathL( const TDesC& aPath );
   115     
   115 
   116     /*
   116     /*
   117      * Path getter
   117      * Path getter
   118      * @return widget library
   118      * @return widget library
   119      */
   119      */
   120     TPtrC GetPath( ) const;
   120     TPtrC GetPath( ) const;
   121     
   121 
   122     /*
   122     /*
   123      * Missing flag setter
   123      * Missing flag setter
   124      * @param aMissing flag
   124      * @param aMissing flag
   125      */
   125      */
   126     void SetMissing( TBool aMissing );
   126     void SetMissing( TBool aMissing );
   133 
   133 
   134     /*
   134     /*
   135      * Used flag setter
   135      * Used flag setter
   136      * @param aUsed flag
   136      * @param aUsed flag
   137      */
   137      */
   138     void SetUsed( TBool aUsed );    
   138     void SetUsed( TBool aUsed );
   139     
   139 
   140     /*
   140     /*
   141      * Content arsenal entry id getter
   141      * Content arsenal entry id getter
   142      * @return CA entry id
   142      * @return CA entry id
   143      */
   143      */
   144     TInt GetEntryId( ) const;
   144     TInt GetEntryId( ) const;
   145 
   145 
   146     /*
   146     /*
   147      * MMC id getter
   147      * MMC id getter
   148      * @return CA entry id
   148      * @return CA entry id
   149      */
   149      */
   150     TUint GetMmcId( ) const;
   150     TPtrC GetMmcId( ) const;
   151 
   151 
   152     /*
   152     /*
   153      * Library getter
   153      * Library getter
   154      * @return widget library
   154      * @return widget library
   155      */
   155      */
   187 
   187 
   188     /*
   188     /*
   189      * Used flag
   189      * Used flag
   190      * @return ETrue if flag used is set
   190      * @return ETrue if flag used is set
   191      */
   191      */
   192     TBool IsUsed( ) const;    
   192     TBool IsUsed( ) const;
   193     
   193     
       
   194 
       
   195     /*
       
   196      * Used flag
       
   197      * @return ETrue if flag visible is set
       
   198      */
       
   199     TBool IsVisible( ) const;
       
   200 
   194     /*
   201     /*
   195      * Entry getter
   202      * Entry getter
   196      * @return entry representing widget
   203      * @return entry representing widget
   197      */
   204      */
   198     CCaInnerEntry* GetEntryLC( ) const;
   205     CCaInnerEntry* GetEntryLC( ) const;
   199     
   206 
   200     /*
   207     /*
   201      * Modification time setter
   208      * Modification time setter
   202      * @param aModificationTime
   209      * @param aModificationTime
   203      */
   210      */
   204     void SetModificationTimeL( const TDesC& aModificationTime );
   211     void SetModificationTimeL( const TDesC& aModificationTime );
   205 
   212 
   206     /*
   213     /*
   207      * Modification time getter
   214      * Modification time getter
   208      * @return widget Modification time
   215      * @return widget Modification time
   209      */
   216      */
   210     TPtrC GetModificationTime( ) const;
   217     TPtrC GetModificationTime() const;
       
   218 
       
   219     /*
       
   220      * Remove MMC id.
       
   221      */
       
   222     void RemoveMmcId();
       
   223     /*
       
   224      * Set service fw xml filename
       
   225      * @param aServiceXml Service xml filename
       
   226      */
       
   227     void SetServiceXmlL(const TDesC& aServiceXml);
       
   228     /*
       
   229      * Get service fw xml filename
       
   230      * @return Service xml filename
       
   231      */
       
   232     TPtrC GetServiceXml() const;
   211 
   233 
   212 private:
   234 private:
   213 
   235 
   214     /*
   236     /*
   215      * Library name getter
   237      * Library name getter
   252     TUint iPackageUid;
   274     TUint iPackageUid;
   253 
   275 
   254     /*
   276     /*
   255      * MMC id
   277      * MMC id
   256      */
   278      */
   257     TUint iMmcId;
   279     RBuf iMmcId;
   258 
   280 
   259     /*
   281     /*
   260      * Widget title. Own
   282      * Widget title. Own
   261      */
   283      */
   262     RBuf iTitle;
   284     RBuf iTitle;
   278 
   300 
   279     /*
   301     /*
   280      * Widget library. Own
   302      * Widget library. Own
   281      */
   303      */
   282     RBuf iPath;
   304     RBuf iPath;
   283     
   305 
   284     /*
   306     /*
   285      * Widget library. Own
   307      * Widget library. Own
   286      */
   308      */
   287     RBuf iLibrary;
   309     RBuf iLibrary;
   288 
   310 
   289     /*
   311     /*
   290      * Widgets flags.
   312      * Widgets flags.
   291      */
   313      */
   292     TInt iFlags;
   314     TInt iFlags;
   293     
   315 
   294     /*
   316     /*
   295      * Modification time.
   317      * Modification time.
   296      */
   318      */
   297     RBuf iModificationTime;
   319     RBuf iModificationTime;
       
   320     /*
       
   321      * Service fw xml file
       
   322      */
       
   323     RBuf iServiceXml;
   298     };
   324     };
   299 
   325 
   300 typedef RPointerArray<CCaWidgetDescription> RWidgetArray;
   326 typedef RPointerArray<CCaWidgetDescription> RWidgetArray;
   301 
   327 
   302 #endif      // C_WIDGETDESCRIPTION_H
   328 #endif      // C_WIDGETDESCRIPTION_H