equal
deleted
inserted
replaced
121 User::Invariant(); |
121 User::Invariant(); |
122 } |
122 } |
123 return KErrBadHandle; |
123 return KErrBadHandle; |
124 } |
124 } |
125 |
125 |
126 // ----------------------------------------------------------------------------- |
|
127 // CPEContactHandlingProxy::GetSpeedDialLocation |
|
128 // Get's phone number and contact id from given location. |
|
129 // ----------------------------------------------------------------------------- |
|
130 // |
|
131 EXPORT_C TInt CPEContactHandlingProxy::GetSpeedDialLocation( |
|
132 TInt aLocationIndex, |
|
133 TPEPhoneNumber& aNumber ) |
|
134 { |
|
135 if ( iContactHandling ) |
|
136 { |
|
137 TEFLOGSTRING( |
|
138 KTAINT, |
|
139 "CNT CPEContactHandlingProxy::GetSpeedDialLocation > CPEContactHandling::GetSpeedDialLocation" ); |
|
140 return iContactHandling->GetSpeedDialLocation( aLocationIndex, aNumber ); |
|
141 } |
|
142 else if ( iContactHandlingDummy ) |
|
143 { |
|
144 TEFLOGSTRING( |
|
145 KTAINT, |
|
146 "CNT CPEContactHandlingProxy::GetSpeedDialLocation > CPEContactHandlingDummy::GetSpeedDialLocation" ); |
|
147 return iContactHandlingDummy->GetSpeedDialLocation( |
|
148 aLocationIndex, |
|
149 aNumber ); |
|
150 } |
|
151 else |
|
152 { |
|
153 TEFLOGSTRING( |
|
154 KTAERROR, |
|
155 "CNT CPECONTACTHANDLINGPROXY::GETSPEEDDIALLOCATION ! NEITHER CONTACT HANDLING NOR CONTACT HANDLING DUMMY EXISTS" ); |
|
156 User::Invariant(); |
|
157 } |
|
158 return KErrBadHandle; |
|
159 } |
|
160 |
|
161 // ================= OTHER EXPORTED FUNCTIONS =============================== |
126 // ================= OTHER EXPORTED FUNCTIONS =============================== |
162 |
127 |
163 // End of File |
128 // End of File |