telephonyserverplugins/licenseetsystub/licensee_tsy_stub/src/cmmcustomstubext.cpp
equal
deleted
inserted
replaced
1 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of "Eclipse Public License v1.0" |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
9 // Nokia Corporation - initial contribution. |
9 // Nokia Corporation - initial contribution. |
10 // |
10 // |
11 // Contributors: |
11 // Contributors: |
12 // |
12 // |
13 |
13 |
|
14 |
|
15 #include "OstTraceDefinitions.h" |
|
16 #ifdef OST_TRACE_COMPILER_IN_USE |
|
17 #include "cmmcustomstubextTraces.h" |
|
18 #endif |
|
19 |
14 #include "cmmmessagerouter.h" |
20 #include "cmmmessagerouter.h" |
15 #include "cmmcustomstubext.h" |
21 #include "cmmcustomstubext.h" |
16 #include "tflogger.h" |
|
17 #include <ctsy/pluginapi/cmmdatapackage.h> |
22 #include <ctsy/pluginapi/cmmdatapackage.h> |
18 |
23 |
19 const TUint KPhoneInfoDescSize = 15; |
24 const TUint KPhoneInfoDescSize = 15; |
20 |
25 |
21 // ======== MEMBER FUNCTIONS ======== |
26 // ======== MEMBER FUNCTIONS ======== |
76 // test the new ReqComplete interface |
81 // test the new ReqComplete interface |
77 iVendorExtComplete->ReqCompleted( aTsyReqHandle, KErrNotSupported ); |
82 iVendorExtComplete->ReqCompleted( aTsyReqHandle, KErrNotSupported ); |
78 ret = KErrNone; |
83 ret = KErrNone; |
79 } |
84 } |
80 |
85 |
81 TFLOGSTRING2( "TSY: CMmCustomStubExt::DoExtFuncL. ret: %d ", ret ); |
86 OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMCUSTOMSTUBEXT_DOEXTFUNCL_1, "TSY: CMmCustomStubExt::DoExtFuncL. ret: %d ", ret ); |
82 return ret; |
87 return ret; |
83 } |
88 } |
84 |
89 |
85 // --------------------------------------------------------------------------- |
90 // --------------------------------------------------------------------------- |
86 // CMmCustomStubExt::SupportingIPC |
91 // CMmCustomStubExt::SupportingIPC |
101 // --------------------------------------------------------------------------- |
106 // --------------------------------------------------------------------------- |
102 // |
107 // |
103 void CMmCustomStubExt::InitializeL( |
108 void CMmCustomStubExt::InitializeL( |
104 MCustomVendorExtComplete& aMCustomVendorExtComplete ) |
109 MCustomVendorExtComplete& aMCustomVendorExtComplete ) |
105 { |
110 { |
106 TFLOGSTRING( "TSY: CMmCustomStubExt::InitializeL. " ); |
111 OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMCUSTOMSTUBEXT_INITIALIZEL_1, "TSY: CMmCustomStubExt::InitializeL. " ); |
107 |
112 |
108 iVendorExtComplete = &aMCustomVendorExtComplete; |
113 iVendorExtComplete = &aMCustomVendorExtComplete; |
109 } |
114 } |
110 |
115 |
111 // --------------------------------------------------------------------------- |
116 // --------------------------------------------------------------------------- |
115 // --------------------------------------------------------------------------- |
120 // --------------------------------------------------------------------------- |
116 // |
121 // |
117 void CMmCustomStubExt::SetMessageRouter( |
122 void CMmCustomStubExt::SetMessageRouter( |
118 CMmMessageRouter* aMessageRouter ) |
123 CMmMessageRouter* aMessageRouter ) |
119 { |
124 { |
120 TFLOGSTRING( "TSY: CMmCustomStubExt::SetMessageRouter. " ); |
125 OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMCUSTOMSTUBEXT_SETMESSAGEROUTER_1, "TSY: CMmCustomStubExt::SetMessageRouter. " ); |
121 iMessageRouter = aMessageRouter; |
126 iMessageRouter = aMessageRouter; |
122 iFirstTime = ETrue; |
127 iFirstTime = ETrue; |
123 } |
128 } |
124 |
129 |
125 // --------------------------------------------------------------------------- |
130 // --------------------------------------------------------------------------- |