--- a/idlehomescreen/xmluicontroller/inc/transactionfactory.h Tue May 25 12:29:32 2010 +0300
+++ b/idlehomescreen/xmluicontroller/inc/transactionfactory.h Wed Jun 09 09:29:04 2010 +0300
@@ -64,56 +64,74 @@
*
* @param aTarget the target node of the transaction element
* @param aText the text to update
+ * @param aPriority Priority
*/
- virtual MTransactionElement*
- CreateTextTransactionElementL( CXnNodeAppIf& aTarget,
- const TDesC& aText,
- TInt aPriority ) = 0;
+ virtual MTransactionElement* CreateTextTransactionElementL(
+ CXnNodeAppIf& aTarget, const TDesC& aText, TInt aPriority ) = 0;
/**
* Creates a new data buffer transaction element.
*
* @param aTarget the traget node of the transaction element
* @param aData the data to update
+ * @param aPriority Priority
+ * @param aCid Content selector id
+ * @param aIndex Content index
*/
- virtual MTransactionElement*
- CreateDataBufferTransactionElementL( CXnNodeAppIf& aTarget,
- const TDesC8& aData,
- TInt aPriority ) = 0;
-
+ virtual MTransactionElement* CreateDataBufferTransactionElementL(
+ CXnNodeAppIf& aTarget, const TDesC8& aData, TInt aPriority, const TDesC& aCid, TInt aIndex ) = 0;
+
+ /**
+ * Creates a new data buffer transaction element.
+ *
+ * @param aTarget the traget node of the transaction element
+ * @param aData the data to update
+ * @param aPriority Priority
+ */
+ virtual MTransactionElement* CreateDataBufferTransactionElementL(
+ CXnNodeAppIf& aTarget, const TDesC8& aData, TInt aPriority ) = 0;
+
/**
* Creates a new empty content transaction element.
*
* @param aTarget the target node of the transaction element
* @param aText the text to update
*/
- virtual MTransactionElement*
- CreateEmptyContentTransactionElementL( CXnNodeAppIf& aTarget,
- TInt aIndex ) = 0;
+ virtual MTransactionElement* CreateEmptyContentTransactionElementL(
+ CXnNodeAppIf& aTarget, TInt aIndex ) = 0;
/**
* Creates a new image transaction element.
*
* @param aTarget the target node of the transaction element
* @param aIcon the icon to update. Ownership transferred.
+ * @param aPriority Priority
*/
- virtual MTransactionElement*
- CreateImageTransactionElementL( CXnNodeAppIf& aTarget,
- CGulIcon* aIcon,
- TInt aPriority ) = 0;
+ virtual MTransactionElement* CreateImageTransactionElementL(
+ CXnNodeAppIf& aTarget, CGulIcon* aIcon, TInt aPriority ) = 0;
/**
* Creates a new image transaction element.
*
* @param aTarget the target node of the transaction element
* @param aFile the file to read image data from.
+ * @param aPriority Priority
*/
- virtual MTransactionElement*
- CreateImageTransactionElementL( CXnNodeAppIf& aTarget,
- RFile& aFile,
- TInt aPriority ) = 0;
+ virtual MTransactionElement* CreateImageTransactionElementL(
+ CXnNodeAppIf& aTarget, RFile& aFile, TInt aPriority ) = 0;
/**
+ * Creates a new newsticker transaction element.
+ *
+ * @param aTarget the target node of the transaction element
+ * @param aText the text to update
+ * @param aPriority Priority
+ * @param aIndex Newsticker title index
+ */
+ virtual MTransactionElement* CreateNewsTickerTransactionElementL(
+ CXnNodeAppIf& aTarget, const TDesC& aText, TInt aPriority, TInt aIndex ) = 0;
+
+ /**
* Releases a transaction element.
*
* @param aElement the element to release.
@@ -128,17 +146,16 @@
* @param aContentType the content type
* @return ETrue if content type is supported, otherwise EFalse.
*/
- virtual TBool IsSupported( CXnNodeAppIf& aTarget,
- const TDesC8& aContentType ) = 0;
+ virtual TBool IsSupported(
+ CXnNodeAppIf& aTarget, const TDesC8& aContentType ) = 0;
protected:
- ~MTransactionFactory(){};
-
+ ~MTransactionFactory(){};
};
} // namespace AiXmlUiController
#endif // M_TRANSACTIONFACTORY_H
-// End of File
\ No newline at end of file
+// End of File