equal
deleted
inserted
replaced
47 CCssPropertyMap& aPropertyMap ) |
47 CCssPropertyMap& aPropertyMap ) |
48 { |
48 { |
49 CTransactionFactoryImpl* self = |
49 CTransactionFactoryImpl* self = |
50 new( ELeave ) CTransactionFactoryImpl( aContentPriorityMap, |
50 new( ELeave ) CTransactionFactoryImpl( aContentPriorityMap, |
51 aPropertyMap ); |
51 aPropertyMap ); |
|
52 |
52 return self; |
53 return self; |
53 } |
|
54 |
|
55 RAiPolicyElementArray& CTransactionFactoryImpl::PolicyArray() |
|
56 { |
|
57 return iPolicyArray; |
|
58 } |
|
59 |
|
60 void CTransactionFactoryImpl::ResetPolicyArray() |
|
61 { |
|
62 iPolicyArray.Reset(); |
|
63 } |
54 } |
64 |
55 |
65 CTransactionFactoryImpl::~CTransactionFactoryImpl() |
56 CTransactionFactoryImpl::~CTransactionFactoryImpl() |
66 { |
57 { |
67 // Delete transaction objects |
58 // Delete transaction objects |
69 DeleteTransactionList( iReservedTransactions ); |
60 DeleteTransactionList( iReservedTransactions ); |
70 |
61 |
71 // Delete transaction elements |
62 // Delete transaction elements |
72 DeleteElementList( iAvailableElements ); |
63 DeleteElementList( iAvailableElements ); |
73 DeleteElementList( iReservedElements ); |
64 DeleteElementList( iReservedElements ); |
74 |
|
75 ResetPolicyArray(); |
|
76 } |
65 } |
77 |
66 |
78 MTransaction* CTransactionFactoryImpl::CreateTransactionL( TInt aTxId ) |
67 MTransaction* CTransactionFactoryImpl::CreateTransactionL( TInt aTxId ) |
79 { |
68 { |
80 CTransaction* tr = NULL; |
69 CTransaction* tr = NULL; |