|
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 #include <QObject> |
|
18 #include <rsssettings.h> |
|
19 #include <psetcontainer.h> |
|
20 #include <psetcallwaiting.h> |
|
21 #include <smcmockclassincludes.h> |
|
22 #include "psetcallwaitingwrapper_p.h" |
|
23 |
|
24 // ============================ MEMBER FUNCTIONS =============================== |
|
25 |
|
26 // ----------------------------------------------------------------------------- |
|
27 // PSetCallWaitingWrapperPrivate::PSetCallWaitingWrapperPrivate |
|
28 // ----------------------------------------------------------------------------- |
|
29 // |
|
30 PSetCallWaitingWrapperPrivate::PSetCallWaitingWrapperPrivate( |
|
31 PSetCallWaitingWrapper & owner ) |
|
32 : m_Owner(owner) |
|
33 { |
|
34 |
|
35 } |
|
36 |
|
37 |
|
38 // ----------------------------------------------------------------------------- |
|
39 // PSetCallWaitingWrapperPrivate::~PSetCallWaitingWrapperPrivate |
|
40 // ----------------------------------------------------------------------------- |
|
41 // |
|
42 PSetCallWaitingWrapperPrivate::~PSetCallWaitingWrapperPrivate( ) |
|
43 { |
|
44 |
|
45 } |
|
46 |
|
47 |
|
48 // ----------------------------------------------------------------------------- |
|
49 // PSetCallWaitingWrapperPrivate::HandleCallWaitingGetStatusL |
|
50 // ----------------------------------------------------------------------------- |
|
51 // |
|
52 void PSetCallWaitingWrapperPrivate::HandleCallWaitingGetStatusL( |
|
53 const MPsetCallWaiting::TGetCallWaitingStatus aStatus, |
|
54 TUint8 aBsc[KPSetNumberOfBsc]) |
|
55 { |
|
56 Q_UNUSED(aStatus) |
|
57 Q_UNUSED(aBsc) |
|
58 // TODO: make compile |
|
59 // SMC_MOCK_METHOD2( void, const MPsetCallWaiting::TGetCallWaitingStatus, aStatus, |
|
60 // TUint8[KPSetNumberOfBsc], aBsc) |
|
61 } |
|
62 |
|
63 |
|
64 // ----------------------------------------------------------------------------- |
|
65 // PSetCallWaitingWrapperPrivate::HandleCallWaitingChangedL |
|
66 // ----------------------------------------------------------------------------- |
|
67 // |
|
68 void PSetCallWaitingWrapperPrivate::HandleCallWaitingChangedL( |
|
69 const MPsetCallWaiting::TSetCallWaiting aSetting, |
|
70 const TInt aResult ) |
|
71 { |
|
72 SMC_MOCK_METHOD2( void, const MPsetCallWaiting::TSetCallWaiting, aSetting, |
|
73 const TInt, aResult ) |
|
74 } |
|
75 |
|
76 |
|
77 // ----------------------------------------------------------------------------- |
|
78 // PSetCallWaitingWrapperPrivate::HandleCWRequestingL |
|
79 // ----------------------------------------------------------------------------- |
|
80 // |
|
81 void PSetCallWaitingWrapperPrivate::HandleCWRequestingL( |
|
82 TBool aOngoing, |
|
83 TBool aInterrupted ) |
|
84 { |
|
85 SMC_MOCK_METHOD2( void, TBool, aOngoing, |
|
86 TBool, aInterrupted ) |
|
87 } |
|
88 |
|
89 |
|
90 // ----------------------------------------------------------------------------- |
|
91 // PSetCallWaitingWrapperPrivate::HandleCWErrorL |
|
92 // ----------------------------------------------------------------------------- |
|
93 // |
|
94 void PSetCallWaitingWrapperPrivate::HandleCWErrorL( |
|
95 TInt aReason ) |
|
96 { |
|
97 SMC_MOCK_METHOD1( void, TInt, aReason ) |
|
98 } |
|
99 |
|
100 |
|
101 // ----------------------------------------------------------------------------- |
|
102 // PSetCallWaitingWrapperPrivate::SetEngineContact |
|
103 // ----------------------------------------------------------------------------- |
|
104 // |
|
105 void PSetCallWaitingWrapperPrivate::SetEngineContact( |
|
106 MPsetCallWaiting & aEngineContact ) |
|
107 { |
|
108 SMC_MOCK_METHOD1( void, MPsetCallWaiting &, aEngineContact ) |
|
109 } |
|
110 |
|
111 |