equal
deleted
inserted
replaced
55 void CTransaction::Append(MTransactionElement& aElement ) |
55 void CTransaction::Append(MTransactionElement& aElement ) |
56 { |
56 { |
57 iTransactionElements.AddLast(dynamic_cast<CTransactionElement&>(aElement)); |
57 iTransactionElements.AddLast(dynamic_cast<CTransactionElement&>(aElement)); |
58 } |
58 } |
59 |
59 |
60 void CTransaction::CommitL( TBool& aLayoutChanged, RPropertyHashMap& aPropertyHashMap ) |
60 void CTransaction::CommitL( RAiPolicyElementArray& aPolicyArray, RPropertyHashMap& aPropertyHashMap ) |
61 { |
61 { |
62 aLayoutChanged = EFalse; |
|
63 |
|
64 if ( iTransactionElements.IsEmpty() ) |
62 if ( iTransactionElements.IsEmpty() ) |
65 { |
63 { |
66 // Nothing to do |
64 // Nothing to do |
67 return; |
65 return; |
68 } |
66 } |
73 |
71 |
74 // Commit transaction elements |
72 // Commit transaction elements |
75 while ( iter ) |
73 while ( iter ) |
76 { |
74 { |
77 // Commit element and advance iterator |
75 // Commit element and advance iterator |
78 (iter++)->CommitL( aLayoutChanged, aPropertyHashMap ); |
76 (iter++)->CommitL( aPolicyArray, aPropertyHashMap ); |
79 } |
77 } |
80 } |
78 } |
81 |
79 |
82 void CTransaction::Reset(MTransactionFactory& aFactory) |
80 void CTransaction::Reset(MTransactionFactory& aFactory) |
83 { |
81 { |