equal
deleted
inserted
replaced
111 /// Own: always included contacts |
111 /// Own: always included contacts |
112 RArray<TInt> iAlwaysIncluded; |
112 RArray<TInt> iAlwaysIncluded; |
113 /// Own: match results (SIM indexes) from native view |
113 /// Own: match results (SIM indexes) from native view |
114 RArray<TInt> iSIMMatchedContacts; |
114 RArray<TInt> iSIMMatchedContacts; |
115 }; |
115 }; |
|
116 |
|
117 // CleanupStack helpers for item owning RPointerArrays |
|
118 template <class T> |
|
119 class CleanupResetAndDestroy |
|
120 { |
|
121 public: |
|
122 inline static void PushL(T& aRef) |
|
123 { CleanupStack::PushL(TCleanupItem(&ResetAndDestroy,&aRef)); } |
|
124 private: |
|
125 inline static void ResetAndDestroy(TAny *aPtr) |
|
126 { static_cast<T*>(aPtr)->ResetAndDestroy(); } |
|
127 }; |
|
128 |
|
129 template <class T> |
|
130 inline void CleanupResetAndDestroyPushL(T& aRef) |
|
131 { CleanupResetAndDestroy<T>::PushL(aRef); } |
116 |
132 |
117 } // namespace VPbkSimStore |
133 } // namespace VPbkSimStore |
118 |
134 |
119 #endif // VPBKSIMSTORE_CFINDVIEW_H |
135 #endif // VPBKSIMSTORE_CFINDVIEW_H |
120 |
136 |