1 /* |
|
2 * Copyright (c) 2005-2006 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 is implementation class of availability setting class. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef __MUSAVATELEPHONYSTATUSOBSERVERIMP_H__ |
|
20 #define __MUSAVATELEPHONYSTATUSOBSERVERIMP_H__ |
|
21 |
|
22 // INCLUDES |
|
23 #include "musavatelephonystatusobserver.h" |
|
24 |
|
25 #include <e32base.h> |
|
26 #include <e32std.h> |
|
27 #include <etelmm.h> |
|
28 |
|
29 |
|
30 /** |
|
31 * This class Implements MMusAvaTelephonyStatusObserver. |
|
32 * |
|
33 * MMusAvaTelephonyStatusObserver is implementation class |
|
34 * |
|
35 * @lib musavailabilityplugin.lib |
|
36 * @since S60 v3.2 |
|
37 */ |
|
38 |
|
39 class CMusAvaTelephonyStatusObserverImp : public CBase, |
|
40 public MMusAvaTelephonyStatusObserver |
|
41 { |
|
42 public: |
|
43 |
|
44 /** |
|
45 * Two-phased constructor |
|
46 * |
|
47 * @since S60 v3.2 |
|
48 * @param aDefaultImp Pointer to observer interface |
|
49 * @return Returns pointer to CMusAvaTelephonyStatusObserverImp object |
|
50 */ |
|
51 |
|
52 static CMusAvaTelephonyStatusObserverImp* NewL(); |
|
53 |
|
54 /** |
|
55 * Destructor |
|
56 * |
|
57 * @since S60 v3.2 |
|
58 * @param |
|
59 * @return |
|
60 */ |
|
61 |
|
62 ~CMusAvaTelephonyStatusObserverImp(); |
|
63 |
|
64 protected: |
|
65 /** |
|
66 * Constructor |
|
67 * |
|
68 * @since S60 v3.2 |
|
69 * @param aDefaultImp Pointer to observer interface |
|
70 * @return |
|
71 */ |
|
72 |
|
73 CMusAvaTelephonyStatusObserverImp( ); |
|
74 |
|
75 /** |
|
76 * Perform the second phase construction of a |
|
77 * CMusAvaTelephonyStatusObserverImp object |
|
78 * |
|
79 * @since S60 v3.2 |
|
80 * @param |
|
81 * @return |
|
82 */ |
|
83 |
|
84 void ConstructL(); |
|
85 |
|
86 |
|
87 // from base class MMusAvaTelephonyStatusObserver |
|
88 |
|
89 public: |
|
90 |
|
91 /** |
|
92 * Current Network Mode Status |
|
93 * |
|
94 * @since S60 v3.2 |
|
95 * @return |
|
96 */ |
|
97 void PhoneNetworkModeStatus( |
|
98 RMobilePhone::TMobilePhoneNetworkMode aStatus ); |
|
99 |
|
100 /** |
|
101 * Current Network Registration Status |
|
102 * |
|
103 * @since S60 v3.2 |
|
104 * @return |
|
105 */ |
|
106 void NetworkRegistrationStatus( |
|
107 RMobilePhone::TMobilePhoneRegistrationStatus aRegStatus ); |
|
108 |
|
109 public: //Data |
|
110 |
|
111 RMobilePhone::TMobilePhoneRegistrationStatus iPhoneRegistrationStatus; |
|
112 RMobilePhone::TMobilePhoneRegistrationStatus* iPhoneRegistrationStatusPointer; |
|
113 RMobilePhone::TMobilePhoneNetworkMode iPhoneNetworkMode; |
|
114 |
|
115 |
|
116 }; |
|
117 |
|
118 #endif |
|
119 |
|