serviceproviders/sapi_contacts_vpbk/tsrc/dev/tcontacts_async/src/torganise_cancel.cpp
equal
deleted
inserted
replaced
48 void TestFunc(); |
48 void TestFunc(); |
49 |
49 |
50 void HandleReturnValue(TOperationEvent aEvent, const TInt& aError , TInt aTransId); |
50 void HandleReturnValue(TOperationEvent aEvent, const TInt& aError , TInt aTransId); |
51 |
51 |
52 void HandleReturnIter( const TInt& aError, CContactIter* aIter, TInt aTransId ); |
52 void HandleReturnIter( const TInt& aError, CContactIter* aIter, TInt aTransId ); |
53 |
53 void HandleReturnId( const TInt& aError, HBufC8* acntId, TInt aTransId ); |
54 |
54 |
|
55 void HandleReturnArray(const TInt& aError, RPointerArray<HBufC8>& aArray, TInt aTransId ); |
55 private: |
56 private: |
56 CActiveSchedulerWait* iWaitSchedular; |
57 CActiveSchedulerWait* iWaitSchedular; |
57 CContactService* iContactService; |
58 CContactService* iContactService; |
58 TInt iResult; |
59 TInt iResult; |
59 enum Ttype iOpType; |
60 enum Ttype iOpType; |
179 |
180 |
180 delete aIter; |
181 delete aIter; |
181 |
182 |
182 } |
183 } |
183 } |
184 } |
184 |
185 void CTestAsync::HandleReturnId( const TInt& aError, HBufC8* acntId, TInt aTransId ) |
|
186 { |
|
187 CActiveScheduler::Stop(); |
|
188 } |
|
189 |
|
190 void CTestAsync::HandleReturnArray(const TInt& aError, RPointerArray<HBufC8>& aArray, TInt aTransId ) |
|
191 { |
|
192 CActiveScheduler::Stop(); |
|
193 } |
185 |
194 |
186 TInt CTestAsync::Result() |
195 TInt CTestAsync::Result() |
187 { |
196 { |
188 return iResult; |
197 return iResult; |
189 } |
198 } |