idlehomescreen/xmluicontroller/inc/mtransaction.h
branchRCL_3
changeset 35 3321d3e205b6
parent 0 f72a12da539e
equal deleted inserted replaced
34:5456b4e8b3a8 35:3321d3e205b6
    19 #ifndef M_TRANSACTION_H
    19 #ifndef M_TRANSACTION_H
    20 #define M_TRANSACTION_H
    20 #define M_TRANSACTION_H
    21 
    21 
    22 #include <e32hashtab.h>
    22 #include <e32hashtab.h>
    23 
    23 
       
    24 #include "aipolicyelement.h"
    24 
    25 
    25 inline TUint32 NodeHash(const TAny* aPtr)
    26 inline TUint32 NodeHash(const TAny* aPtr)
    26     {
    27     {
    27     return (TUint32)aPtr;
    28     return (TUint32)aPtr;
    28     };
    29     };
    85     /**
    86     /**
    86      * Commits this transaction by committing all transaction elements.
    87      * Commits this transaction by committing all transaction elements.
    87      *
    88      *
    88      * @param [out] aLayoutChanged true if UI layout changes
    89      * @param [out] aLayoutChanged true if UI layout changes
    89      */
    90      */
    90     virtual void CommitL( TBool& aLayoutChanged, RPropertyHashMap& aPropertyHashMap ) = 0;
    91     virtual void CommitL( RAiPolicyElementArray& aPolicyArray, 
       
    92             RPropertyHashMap& aPropertyHashMap ) = 0;
    91     
    93     
    92     /**
    94     /**
    93      * Resets this transaction for reuse.
    95      * Resets this transaction for reuse.
    94      *
    96      *
    95      * @param aFactory the factory which created this transaction
    97      * @param aFactory the factory which created this transaction