equal
deleted
inserted
replaced
|
1 // TestTelephonyAsyncOperation.h |
|
2 // |
|
3 // Copyright (c) 2004-2008 Symbian Software Ltd. All rights reserved. |
|
4 // |
|
5 // Active object derived class for asynchronous operation |
|
6 // |
|
7 |
|
8 |
|
9 #if (!defined __TEST_TELEPHONY_ASYNC_OPERATION_H__) |
|
10 #define __TEST_TELEPHONY_ASYNC_OPERATION_H__ |
|
11 |
|
12 // EPOC include |
|
13 #include <e32base.h> |
|
14 #include <etel3rdparty.h> |
|
15 |
|
16 /*@{*/ |
|
17 ///constants |
|
18 enum TTestAsyncOperation |
|
19 { |
|
20 KNotifyLineStatusChange, |
|
21 }; |
|
22 /*@}*/ |
|
23 |
|
24 class CTelephonyAsyncOperation : public CActive |
|
25 /** |
|
26 @internalAll |
|
27 @test |
|
28 @class CTelephonyAsyncOperation |
|
29 |
|
30 Active object for executing the asynchronous requests. |
|
31 */ |
|
32 { |
|
33 public: |
|
34 CTelephonyAsyncOperation(CTestStep& aTestStep); |
|
35 ~CTelephonyAsyncOperation(); |
|
36 |
|
37 virtual void DoCancel(); |
|
38 virtual void RunL(); |
|
39 |
|
40 TInt SetOperation(); |
|
41 |
|
42 private: |
|
43 CTestStep& iTestStep; |
|
44 }; |
|
45 |
|
46 #endif /* __TEST_TELEPHONY_ASYNC_OPERATION_H__ */ |