equal
deleted
inserted
replaced
1 /* |
|
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Telephony Multimedia Service |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef DTMFEVENTHANDLER_H |
|
19 #define DTMFEVENTHANDLER_H |
|
20 |
|
21 // INCLUDES |
|
22 #include <e32base.h> |
|
23 #include <e32property.h> |
|
24 #include "tmsserver.h" |
|
25 |
|
26 namespace TMS { |
|
27 |
|
28 // CLASS DECLARATION |
|
29 class TMSDtmfEventHandler : public CActive |
|
30 { |
|
31 public: |
|
32 /** |
|
33 * Two-phased constructor. |
|
34 */ |
|
35 static TMSDtmfEventHandler* NewL(TMSServer* aServer); |
|
36 |
|
37 /** |
|
38 * Destructor. |
|
39 */ |
|
40 virtual ~TMSDtmfEventHandler(); |
|
41 |
|
42 private: |
|
43 /** |
|
44 * From CActive |
|
45 * Cancel outstanding request |
|
46 */ |
|
47 void DoCancel(); |
|
48 |
|
49 /** |
|
50 * From CActive |
|
51 * Implementation of CActive::RunL. |
|
52 * Called when server request has completed. |
|
53 */ |
|
54 void RunL(); |
|
55 |
|
56 /** |
|
57 * From CActive |
|
58 * Implementation of CActive::RunError. |
|
59 * Called when RunL leaves. |
|
60 */ |
|
61 TInt RunError(TInt aError); |
|
62 |
|
63 private: |
|
64 |
|
65 /** |
|
66 * C++ default constructor. |
|
67 */ |
|
68 TMSDtmfEventHandler(TMSServer* aServer); |
|
69 |
|
70 /** |
|
71 * By default Symbian 2nd phase constructor is private. |
|
72 */ |
|
73 void ConstructL(); |
|
74 |
|
75 private: |
|
76 TMSServer* iTMSSer; |
|
77 RProperty iProperty; |
|
78 }; |
|
79 |
|
80 } //namespace TMS |
|
81 |
|
82 #endif // DTMFEVENTHANDLER_H |
|
83 |
|
84 // End of File |
|