idlehomescreen/xmluicontroller/inc/databuffertransactionelement.h
branchRCL_3
changeset 26 1b758917cafc
parent 0 f72a12da539e
equal deleted inserted replaced
25:137ebc85284b 26:1b758917cafc
    55     *
    55     *
    56     * @param aTarget - the target of publishing.
    56     * @param aTarget - the target of publishing.
    57     * @param aData - the content. 
    57     * @param aData - the content. 
    58     */
    58     */
    59     void InitializeL(CXnNodeAppIf& aTarget, const TDesC8& aData);
    59     void InitializeL(CXnNodeAppIf& aTarget, const TDesC8& aData);
       
    60 
       
    61     /**
       
    62     * Initializes this transaction element to publish content aData
       
    63     * to node aTarget.
       
    64     *
       
    65     * @param aTarget - the target of publishing.
       
    66     * @param aData - the content. 
       
    67     * @param aCid - the content id.
       
    68     * @param aIndex - the content index.
       
    69     */    
       
    70     void InitializeL(CXnNodeAppIf& aTarget, const TDesC8& aData, 
       
    71         const TDesC& aCid, TInt aIndex);
    60     
    72     
    61     /**
    73     /**
    62      * Checks if given content type is supported by target ui element.
    74      * Checks if given content type is supported by target ui element.
    63      *
    75      *
    64      * @param aTarget target ui element.
    76      * @param aTarget target ui element.
    84     void SetDataL();
    96     void SetDataL();
    85     
    97     
    86 private:    // Data
    98 private:    // Data
    87 
    99 
    88     /**
   100     /**
    89      * New content.
   101      * New content, owned.
    90      */
   102      */
    91     TPtrC8 iNewData;
   103     HBufC8* iNewData;
    92         
   104     
       
   105     /**
       
   106      * Content id, owned.
       
   107      */
       
   108     HBufC* iCid;
       
   109     
       
   110     /*
       
   111      * Content index
       
   112      */
       
   113     TInt iIndex;
    93     };
   114     };
    94 
   115 
    95 }   // namespace AiXmlUiController
   116 }   // namespace AiXmlUiController
    96 
   117 
    97 #endif      // C_TEXTTRANSACTIONELEMENT_H  
   118 #endif      // C_TEXTTRANSACTIONELEMENT_H