homescreenpluginsrv/inc/hspsodt.h
branchRCL_3
changeset 11 bd874ee5e5e2
parent 0 79c6a41cd166
child 12 502e5d91ad42
equal deleted inserted replaced
8:d0529222e3f0 11:bd874ee5e5e2
   149         * 
   149         * 
   150         * @since S60 5.0
   150         * @since S60 5.0
   151         * @param aIndex Index of the resource to be deleted.
   151         * @param aIndex Index of the resource to be deleted.
   152         */ 
   152         */ 
   153         IMPORT_C void DeleteResourceL( TInt aIndex );
   153         IMPORT_C void DeleteResourceL( TInt aIndex );
       
   154 
       
   155         /**
       
   156         * Deletes all resources from the ODT.
       
   157         * 
       
   158         * @since S60 5.0
       
   159         */ 
       
   160         IMPORT_C void DeleteAllResources();        
   154         
   161         
   155         /**
   162         /**
   156         * Gets a resource.
   163         * Gets a resource.
   157         * 
   164         * 
   158         * @since S60 5.0
   165         * @since S60 5.0
   342         * Clones this ChspsODT.
   349         * Clones this ChspsODT.
   343         * 
   350         * 
   344         * @since S60 5.0
   351         * @since S60 5.0
   345         * @return ChspsODT* pointer to the cloned ODT.
   352         * @return ChspsODT* pointer to the cloned ODT.
   346         */ 
   353         */ 
   347         IMPORT_C ChspsODT* CloneL();
   354         IMPORT_C ChspsODT* CloneL() const;
   348         
   355 
       
   356         /**
       
   357         * Clones given ODT to this ODT.
       
   358         * 
       
   359         * @since S60 5.0
       
   360         * @param	aODT	Source ODT.
       
   361         */         
       
   362         IMPORT_C void CloneL( ChspsODT& aODT );        
   349         
   363         
   350         /**
   364         /**
   351         * Clones the aDom and sets it as this ChspsODT's DomDocument.
   365         * Clones the aDom and sets it as this ChspsODT's DomDocument.
   352         * 
   366         * 
   353         * @since S60 5.0
   367         * @since S60 5.0
   473         /**
   487         /**
   474         * By default Symbian 2nd phase constructor is private.
   488         * By default Symbian 2nd phase constructor is private.
   475         */
   489         */
   476         void ConstructL();
   490         void ConstructL();
   477 
   491 
       
   492     private:
       
   493         /**
       
   494         * Helper to ODT cloning. Prevents duplicate code in two clone methods.
       
   495         * 
       
   496         * @param aSource    Source ODT
       
   497         * @param aTarget    Target ODT
       
   498         */
       
   499         static void CopyODTDataL( const ChspsODT& aSource, ChspsODT& aTarget );
       
   500         
   478     private:    // Data
   501     private:    // Data
   479 
   502 
   480         // Family mask (bits for e.g. vga, qhd_tch etc resolutions)
   503         // Family mask (bits for e.g. vga, qhd_tch etc resolutions)
   481         TUint32 iFamilyMask;
   504         TUint32 iFamilyMask;
   482         
   505