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 TAREVENTHANDLER_H |
|
19 #define TAREVENTHANDLER_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 CTarEventHandler : public CActive |
|
30 { |
|
31 public: |
|
32 /** |
|
33 * Two-phased constructor. |
|
34 */ |
|
35 static CTarEventHandler* NewL(TMSServer* aServer); |
|
36 |
|
37 /** |
|
38 * Destructor. |
|
39 */ |
|
40 virtual ~CTarEventHandler(); |
|
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 private: |
|
57 |
|
58 /** |
|
59 * C++ default constructor. |
|
60 */ |
|
61 CTarEventHandler(TMSServer* aServer); |
|
62 |
|
63 /** |
|
64 * By default Symbian 2nd phase constructor is private. |
|
65 */ |
|
66 void ConstructL(); |
|
67 |
|
68 private: |
|
69 TMSServer* iTMSSer; |
|
70 RProperty iProperty; |
|
71 }; |
|
72 |
|
73 } //namespace TMS |
|
74 |
|
75 #endif // TAREVENTHANDLER_H |
|
76 |
|
77 // End of File |