1 /* |
|
2 * Copyright (c) 2002-2008 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: This file contains the header file of the |
|
15 * CSPSupplementaryServicesMonitor object. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef CSPSUPPLEMENTARYSERVICESMONITOR_H |
|
21 #define CSPSUPPLEMENTARYSERVICESMONITOR_H |
|
22 |
|
23 |
|
24 //INCLUDES |
|
25 #include <e32base.h> |
|
26 #include <rmmcustomapi.h> |
|
27 |
|
28 |
|
29 // FORWARD DECLARATIONS |
|
30 class CSProvider; |
|
31 |
|
32 // CLASS DECLARATION |
|
33 |
|
34 /** |
|
35 * Monitors Supplementary Services |
|
36 * |
|
37 * @lib CallHandling.lib |
|
38 * @since Series60_4.0 |
|
39 */ |
|
40 class CSPSupplementaryServicesMonitor: public CActive |
|
41 { |
|
42 public: //Constructors and descructor |
|
43 |
|
44 /** |
|
45 * C++ default constructor. |
|
46 */ |
|
47 CSPSupplementaryServicesMonitor( |
|
48 CSProvider& aOwner, |
|
49 RMmCustomAPI& aCustomAPI ); |
|
50 |
|
51 /** |
|
52 * Destructor. |
|
53 */ |
|
54 virtual ~CSPSupplementaryServicesMonitor(); |
|
55 |
|
56 public: //New functions |
|
57 |
|
58 /** |
|
59 * Starts monitoring new calls |
|
60 * @since Series60_4.0 |
|
61 * @param None. |
|
62 * @return None. |
|
63 */ |
|
64 void StartMonitoring(); |
|
65 |
|
66 protected: // From CActive |
|
67 |
|
68 /** |
|
69 * Cancels asyncronous request(s). |
|
70 * @since Series60_4.0 |
|
71 * @param None. |
|
72 * @return None. |
|
73 */ |
|
74 void DoCancel(); |
|
75 |
|
76 /** |
|
77 * Informs object that asyncronous request is ready. |
|
78 * @since Series60_4.0 |
|
79 * @param None. |
|
80 * @return None. |
|
81 */ |
|
82 void RunL(); |
|
83 |
|
84 private: |
|
85 |
|
86 /** Owner of this object */ |
|
87 CSProvider& iOwner; |
|
88 /** Subsession to custom api */ |
|
89 RMmCustomAPI& iCustomAPI; |
|
90 /** Suplementary Services Type And Mode */ |
|
91 RMmCustomAPI::TSsTypeAndMode iSsTypeAndMode; |
|
92 /** Suplementary Services info */ |
|
93 RMmCustomAPI::TSsInfo iSsInfo; |
|
94 }; |
|
95 |
|
96 #endif // CSPSUPPLEMENTARYSERVICESMONITOR_H |
|