1 /* |
|
2 * Copyright (c) 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 module contains the implementation of CPEContactHandlingDummy class |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // INCLUDE FILES |
|
20 #include "cpecontacthandlingdummy.h" |
|
21 #include "cpecontactmatch.h" |
|
22 #include <mpedatastore.h> |
|
23 #include <e32std.h> |
|
24 #include <mpephonemodelinternal.h> |
|
25 #include <pepanic.pan> |
|
26 #include <barsc.h> |
|
27 #include <barsread.h> |
|
28 #include <talogger.h> |
|
29 #include <bldvariant.hrh> |
|
30 #include <featmgr.h> |
|
31 |
|
32 // ================= MEMBER FUNCTIONS ======================================= |
|
33 // ----------------------------------------------------------------------------- |
|
34 // CPEContactHandlingDummy::CPEContactHandlingDummy |
|
35 // C++ default constructor can NOT contain any code, that |
|
36 // might leave. |
|
37 // ----------------------------------------------------------------------------- |
|
38 // |
|
39 CPEContactHandlingDummy::CPEContactHandlingDummy() |
|
40 { |
|
41 } |
|
42 |
|
43 // ----------------------------------------------------------------------------- |
|
44 // CPEContactHandlingDummy::NewL |
|
45 // Two-phased constructor. |
|
46 // ----------------------------------------------------------------------------- |
|
47 // |
|
48 EXPORT_C CPEContactHandlingDummy* CPEContactHandlingDummy::NewL() |
|
49 { |
|
50 TEFLOGSTRING(KTAOBJECT, "CNT CPEContactHandlingDummy::NewL start."); |
|
51 CPEContactHandlingDummy* self = new ( ELeave ) CPEContactHandlingDummy(); |
|
52 TEFLOGSTRING(KTAOBJECT, "CNT CPEContactHandlingDummy::NewL Complete."); |
|
53 return self; |
|
54 } |
|
55 |
|
56 // Destructor |
|
57 CPEContactHandlingDummy::~CPEContactHandlingDummy() |
|
58 { |
|
59 TEFLOGSTRING( KTAOBJECT, "CNT CPEContactHandlingDummy::~CPEContactHandlingDummy()" ); |
|
60 } |
|
61 |
|
62 // ----------------------------------------------------------------------------- |
|
63 // CPEContactHandlingDummy::FindContactInfoSync |
|
64 // Calls method FindContactInfoSyncL which can leave. This leave is trapped in |
|
65 // this function. |
|
66 // (other items were commented in a header). |
|
67 // ----------------------------------------------------------------------------- |
|
68 // |
|
69 EXPORT_C TInt CPEContactHandlingDummy::FindContactInfoSync( |
|
70 const TInt /*aCallId*/, const TPEFindContactKey /*aFindKey*/ ) |
|
71 { |
|
72 TEFLOGSTRING( KTAOBJECT, "CNT CPEContactHandlingDummy::FindContactInfoSync()" ); |
|
73 return KErrNone; |
|
74 } |
|
75 |
|
76 // ----------------------------------------------------------------------------- |
|
77 // CPEContactHandlingDummy::GetSpeedDialLocation |
|
78 // Get's phone number and contact id from given location. |
|
79 // ----------------------------------------------------------------------------- |
|
80 // |
|
81 EXPORT_C TInt CPEContactHandlingDummy::GetSpeedDialLocation( |
|
82 TInt /*aLocationIndex*/, |
|
83 TPEPhoneNumber& /*aNumber*/ ) |
|
84 { |
|
85 TEFLOGSTRING( KTAOBJECT, "CNT CPEContactHandlingDummy::GetSpeedDialLocation()" ); |
|
86 return KErrNone; |
|
87 } |
|
88 |
|
89 // ================= OTHER EXPORTED FUNCTIONS =============================== |
|
90 |
|
91 // End of File |
|