idlehomescreen/xmluicontroller/inc/transactionfactoryimpl.h
branchRCL_3
changeset 26 1b758917cafc
parent 0 f72a12da539e
equal deleted inserted replaced
25:137ebc85284b 26:1b758917cafc
    58 
    58 
    59     MTransaction* CreateTransactionL( TInt aTxId );
    59     MTransaction* CreateTransactionL( TInt aTxId );
    60     
    60     
    61     void ReleaseTransaction( MTransaction* aTransaction );
    61     void ReleaseTransaction( MTransaction* aTransaction );
    62 
    62 
    63     MTransactionElement* CreateTextTransactionElementL( CXnNodeAppIf& aTarget,
    63     MTransactionElement* CreateTextTransactionElementL( 
    64                                                         const TDesC& aText,
    64         CXnNodeAppIf& aTarget, const TDesC& aText, TInt aPriority );
    65                                                         TInt aPriority );
    65                                                                                                                    
    66     
       
    67     MTransactionElement* CreateDataBufferTransactionElementL( 
    66     MTransactionElement* CreateDataBufferTransactionElementL( 
    68                                                         CXnNodeAppIf& aTarget,
    67         CXnNodeAppIf& aTarget, const TDesC8& aData, TInt aPriority );
    69                                                         const TDesC8& aData,
    68                                                                                                                 
    70                                                         TInt aPriority );
    69     MTransactionElement* CreateDataBufferTransactionElementL( 
       
    70         CXnNodeAppIf& aTarget, const TDesC8& aData, TInt aPriority, 
       
    71         const TDesC& aCid, TInt aIndex );
       
    72                                                         
       
    73     MTransactionElement* CreateEmptyContentTransactionElementL( 
       
    74         CXnNodeAppIf& aTarget, TInt aIndex );
       
    75                                                                 
       
    76     MTransactionElement* CreateImageTransactionElementL( 
       
    77         CXnNodeAppIf& aTarget, CGulIcon* aIcon, TInt aPriority );
       
    78                                                                                                                             
       
    79     MTransactionElement* CreateImageTransactionElementL( 
       
    80         CXnNodeAppIf& aTarget, RFile& aFile, TInt aPriority );
    71 
    81 
    72     MTransactionElement* CreateEmptyContentTransactionElementL( CXnNodeAppIf& aTarget,
    82     MTransactionElement* CreateNewsTickerTransactionElementL( 
    73                                                                 TInt aIndex );
    83         CXnNodeAppIf& aTarget, const TDesC& aText, TInt aPriority, TInt aIndex );
    74 
       
    75     MTransactionElement* CreateImageTransactionElementL( CXnNodeAppIf& aTarget,
       
    76                                                          CGulIcon* aIcon,        
       
    77                                                          TInt aPriority );
       
    78     
       
    79     MTransactionElement* CreateImageTransactionElementL( CXnNodeAppIf& aTarget,
       
    80                                                          RFile& aFile,
       
    81                                                          TInt aPriority );
       
    82     
       
    83     /**
       
    84      * @param aTarget
       
    85      * @param aText new text
       
    86      * @param aPriority
       
    87      * @param aIndex Index of the news ticker element updated
       
    88      */
       
    89     MTransactionElement* CreateNewsTickerTransactionElementL( CXnNodeAppIf& aTarget,
       
    90                                                         const TDesC& aText,
       
    91                                                         TInt aPriority,
       
    92                                                         TInt aIndex );
       
    93     
    84     
    94     void ReleaseTransactionElement( MTransactionElement* aElement );
    85     void ReleaseTransactionElement( MTransactionElement* aElement );
    95 
    86 
    96     TBool IsSupported( CXnNodeAppIf& aTarget, const TDesC8& aContentType );
    87     TBool IsSupported( CXnNodeAppIf& aTarget, const TDesC8& aContentType );
    97 
    88