|
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: |
|
15 * |
|
16 */ |
|
17 |
|
18 #include <smcmockclassincludes.h> |
|
19 #include <mpsetrequestobs.h> |
|
20 #include "PsetCallWaiting.h" |
|
21 |
|
22 // ============================ MEMBER FUNCTIONS =============================== |
|
23 |
|
24 // ----------------------------------------------------------------------------- |
|
25 // CPsetCallWaiting::CPsetCallWaiting |
|
26 // ----------------------------------------------------------------------------- |
|
27 // |
|
28 CPsetCallWaiting::CPsetCallWaiting( |
|
29 RMobilePhone & aPhone ) |
|
30 : |
|
31 CActive( EPriorityStandard ), |
|
32 iPhone(aPhone) |
|
33 { |
|
34 |
|
35 } |
|
36 |
|
37 |
|
38 // ----------------------------------------------------------------------------- |
|
39 // CPsetCallWaiting::ConstructL |
|
40 // ----------------------------------------------------------------------------- |
|
41 // |
|
42 void CPsetCallWaiting::ConstructL( |
|
43 MPsetCallWaitingObserver & /*aObserver*/ ) |
|
44 { |
|
45 |
|
46 } |
|
47 |
|
48 |
|
49 // ----------------------------------------------------------------------------- |
|
50 // CPsetCallWaiting::NewL |
|
51 // ----------------------------------------------------------------------------- |
|
52 // |
|
53 CPsetCallWaiting * CPsetCallWaiting::NewL( |
|
54 RMobilePhone & aPhone, |
|
55 MPsetCallWaitingObserver & aObserver ) |
|
56 { |
|
57 SMC_MOCK_NEWL2( CPsetCallWaiting *, RMobilePhone &, aPhone, |
|
58 MPsetCallWaitingObserver &, aObserver ) |
|
59 |
|
60 CPsetCallWaiting* self = new( ELeave ) CPsetCallWaiting(aPhone); |
|
61 CleanupStack::PushL( self ); |
|
62 //self->ConstructL() |
|
63 CleanupStack::Pop( self ); |
|
64 return self; |
|
65 } |
|
66 |
|
67 |
|
68 // ----------------------------------------------------------------------------- |
|
69 // CPsetCallWaiting::~CPsetCallWaiting |
|
70 // ----------------------------------------------------------------------------- |
|
71 // |
|
72 CPsetCallWaiting::~CPsetCallWaiting( ) |
|
73 { |
|
74 |
|
75 } |
|
76 |
|
77 |
|
78 // ----------------------------------------------------------------------------- |
|
79 // CPsetCallWaiting::SetCallWaitingL |
|
80 // ----------------------------------------------------------------------------- |
|
81 // |
|
82 void CPsetCallWaiting::SetCallWaitingL( |
|
83 TSetCallWaiting aSetting, |
|
84 TBasicServiceGroups aBsc ) |
|
85 { |
|
86 SMC_MOCK_METHOD2( void, TSetCallWaiting, aSetting, |
|
87 TBasicServiceGroups, aBsc ) |
|
88 } |
|
89 |
|
90 |
|
91 // ----------------------------------------------------------------------------- |
|
92 // CPsetCallWaiting::GetCallWaitingStatusL |
|
93 // ----------------------------------------------------------------------------- |
|
94 // |
|
95 void CPsetCallWaiting::GetCallWaitingStatusL( ) |
|
96 { |
|
97 SMC_MOCK_METHOD0( void ) |
|
98 } |
|
99 |
|
100 |
|
101 // ----------------------------------------------------------------------------- |
|
102 // CPsetCallWaiting::CancelProcess |
|
103 // ----------------------------------------------------------------------------- |
|
104 // |
|
105 TInt CPsetCallWaiting::CancelProcess( ) |
|
106 { |
|
107 SMC_MOCK_METHOD0( TInt ) |
|
108 } |
|
109 |
|
110 |
|
111 // ----------------------------------------------------------------------------- |
|
112 // CPsetCallWaiting::SetRequestObserver |
|
113 // ----------------------------------------------------------------------------- |
|
114 // |
|
115 void CPsetCallWaiting::SetRequestObserver( |
|
116 MPsetRequestObserver * aObs ) |
|
117 { |
|
118 SMC_MOCK_METHOD1( void, MPsetRequestObserver *, aObs ) |
|
119 } |
|
120 |
|
121 |
|
122 // ----------------------------------------------------------------------------- |
|
123 // CPsetCallWaiting::PhoneSettingChanged |
|
124 // ----------------------------------------------------------------------------- |
|
125 // |
|
126 void CPsetCallWaiting::PhoneSettingChanged( |
|
127 TSSSettingsSetting aSetting, |
|
128 TInt aNewValue ) |
|
129 { |
|
130 SMC_MOCK_METHOD2( void, TSSSettingsSetting, aSetting, |
|
131 TInt, aNewValue ) |
|
132 } |
|
133 |
|
134 // ----------------------------------------------------------------------------- |
|
135 // CPsetCallWaiting::RunL |
|
136 // ----------------------------------------------------------------------------- |
|
137 // |
|
138 void CPsetCallWaiting::RunL() |
|
139 { |
|
140 |
|
141 } |
|
142 |
|
143 // ----------------------------------------------------------------------------- |
|
144 // CPsetCallWaiting::DoCancel |
|
145 // ----------------------------------------------------------------------------- |
|
146 // |
|
147 void CPsetCallWaiting::DoCancel() |
|
148 { |
|
149 |
|
150 } |