equal
deleted
inserted
replaced
19 // INCLUDE FILES |
19 // INCLUDE FILES |
20 #include "cpelogevent.h" |
20 #include "cpelogevent.h" |
21 #include "cpeloginfo.h" |
21 #include "cpeloginfo.h" |
22 #include "cpeloghandling.h" |
22 #include "cpeloghandling.h" |
23 #include "cpeloghandlingcommand.h" |
23 #include "cpeloghandlingcommand.h" |
24 // <-- QT PHONE START --> |
|
25 //#include <pbkfields.hrh> |
|
26 // <-- QT PHONE END --> |
|
27 #include <talogger.h> |
24 #include <talogger.h> |
28 #include <logcli.h> |
25 #include <logcli.h> |
29 #include <LogsApiConsts.h> |
26 #include <LogsApiConsts.h> |
30 |
27 |
31 |
28 |
304 void CPELogEvent::SetPhoneNumberId() |
301 void CPELogEvent::SetPhoneNumberId() |
305 { |
302 { |
306 TBuf<KPhonebookTypeIdLength> subject; |
303 TBuf<KPhonebookTypeIdLength> subject; |
307 subject.Zero(); |
304 subject.Zero(); |
308 |
305 |
309 // <-- QT PHONE START --> |
|
310 |
|
311 switch ( iLogInfo->PhoneNumberId() ) |
306 switch ( iLogInfo->PhoneNumberId() ) |
312 { |
307 { |
313 case EPEMobileNumber: |
308 case EPEMobileNumber: |
314 subject.AppendNum( EPEUnknownNumber ); |
309 subject.AppendNum( EPEUnknownNumber ); |
315 break; |
310 break; |
330 break; |
325 break; |
331 default: |
326 default: |
332 subject.AppendNum( EPEUnknownNumber ); |
327 subject.AppendNum( EPEUnknownNumber ); |
333 break; |
328 break; |
334 } |
329 } |
335 |
|
336 // <-- QT PHONE END --> |
|
337 |
|
338 |
330 |
339 if ( subject.Length() > 0 ) |
331 if ( subject.Length() > 0 ) |
340 { |
332 { |
341 iEvent->SetSubject( subject ); |
333 iEvent->SetSubject( subject ); |
342 } |
334 } |