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( RAiPolicyElementArray& aPolicyArray, RPropertyHashMap& aPropertyHashMap ) |
60 void CTransaction::CommitL( TBool& aLayoutChanged, RPropertyHashMap& aPropertyHashMap ) |
61 { |
61 { |
|
62 aLayoutChanged = EFalse; |
|
63 |
62 if ( iTransactionElements.IsEmpty() ) |
64 if ( iTransactionElements.IsEmpty() ) |
63 { |
65 { |
64 // Nothing to do |
66 // Nothing to do |
65 return; |
67 return; |
66 } |
68 } |
71 |
73 |
72 // Commit transaction elements |
74 // Commit transaction elements |
73 while ( iter ) |
75 while ( iter ) |
74 { |
76 { |
75 // Commit element and advance iterator |
77 // Commit element and advance iterator |
76 (iter++)->CommitL( aPolicyArray, aPropertyHashMap ); |
78 (iter++)->CommitL( aLayoutChanged, aPropertyHashMap ); |
77 } |
79 } |
78 } |
80 } |
79 |
81 |
80 void CTransaction::Reset(MTransactionFactory& aFactory) |
82 void CTransaction::Reset(MTransactionFactory& aFactory) |
81 { |
83 { |