idlehomescreen/xmluicontroller/inc/databuffertransactionelement.h
branchRCL_3
changeset 26 1b758917cafc
parent 0 f72a12da539e
--- a/idlehomescreen/xmluicontroller/inc/databuffertransactionelement.h	Tue May 25 12:29:32 2010 +0300
+++ b/idlehomescreen/xmluicontroller/inc/databuffertransactionelement.h	Wed Jun 09 09:29:04 2010 +0300
@@ -57,6 +57,18 @@
     * @param aData - the content. 
     */
     void InitializeL(CXnNodeAppIf& aTarget, const TDesC8& aData);
+
+    /**
+    * Initializes this transaction element to publish content aData
+    * to node aTarget.
+    *
+    * @param aTarget - the target of publishing.
+    * @param aData - the content. 
+    * @param aCid - the content id.
+    * @param aIndex - the content index.
+    */    
+    void InitializeL(CXnNodeAppIf& aTarget, const TDesC8& aData, 
+        const TDesC& aCid, TInt aIndex);
     
     /**
      * Checks if given content type is supported by target ui element.
@@ -86,10 +98,19 @@
 private:    // Data
 
     /**
-     * New content.
+     * New content, owned.
+     */
+    HBufC8* iNewData;
+    
+    /**
+     * Content id, owned.
      */
-    TPtrC8 iNewData;
-        
+    HBufC* iCid;
+    
+    /*
+     * Content index
+     */
+    TInt iIndex;
     };
 
 }   // namespace AiXmlUiController