|
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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 #ifndef MCCDATASINK_INL |
|
22 #define MCCDATASINK_INL |
|
23 |
|
24 // INCLUDE FILES |
|
25 #include <e32std.h> |
|
26 |
|
27 // EXTERNAL DATA STRUCTURES |
|
28 |
|
29 // EXTERNAL FUNCTION PROTOTYPES |
|
30 |
|
31 // CONSTANTS |
|
32 |
|
33 // MACROS |
|
34 |
|
35 // LOCAL CONSTANTS AND MACROS |
|
36 |
|
37 // MODULE DATA STRUCTURES |
|
38 |
|
39 // LOCAL FUNCTION PROTOTYPES |
|
40 |
|
41 // FORWARD DECLARATIONS |
|
42 |
|
43 // ============================= LOCAL FUNCTIONS =============================== |
|
44 |
|
45 // ============================ MEMBER FUNCTIONS =============================== |
|
46 |
|
47 // ----------------------------------------------------------------------------- |
|
48 // CMccDataSink::~CMccDataSink |
|
49 // ----------------------------------------------------------------------------- |
|
50 // |
|
51 inline CMccDataSink::~CMccDataSink() |
|
52 { |
|
53 } |
|
54 |
|
55 // ----------------------------------------------------------------------------- |
|
56 // CMccDataSink::AddUserL |
|
57 // ----------------------------------------------------------------------------- |
|
58 // |
|
59 inline TInt CMccDataSink::AddUser( MAsyncEventHandler* /*aUser*/ ) |
|
60 { |
|
61 return KErrNotSupported; |
|
62 } |
|
63 |
|
64 // ----------------------------------------------------------------------------- |
|
65 // CMccDataSink::RemoveUser |
|
66 // ----------------------------------------------------------------------------- |
|
67 // |
|
68 inline void CMccDataSink::RemoveUser( MAsyncEventHandler* /*aUser*/ ) |
|
69 { |
|
70 } |
|
71 |
|
72 // ----------------------------------------------------------------------------- |
|
73 // CMccDataSink::SetCurrentUser |
|
74 // ----------------------------------------------------------------------------- |
|
75 // |
|
76 inline void CMccDataSink::SetCurrentUser( MAsyncEventHandler* /*aUser*/ ) |
|
77 { |
|
78 } |
|
79 |
|
80 // ----------------------------------------------------------------------------- |
|
81 // CMccDataSink::GetParameterL |
|
82 // ----------------------------------------------------------------------------- |
|
83 // |
|
84 inline void CMccDataSink::GetParameterL( TUint32 /*aParam*/, TDes8& /*aVal*/ ) |
|
85 { |
|
86 User::Leave( KErrNotSupported ); |
|
87 } |
|
88 |
|
89 // ----------------------------------------------------------------------------- |
|
90 // CMccDataSink::SetParameterL |
|
91 // ----------------------------------------------------------------------------- |
|
92 // |
|
93 inline void CMccDataSink::SetParameterL( TUint32 /*aParam*/, const TDesC8& /*aVal*/ ) |
|
94 { |
|
95 User::Leave( KErrNotSupported ); |
|
96 } |
|
97 |
|
98 // ----------------------------------------------------------------------------- |
|
99 // CMccDataSink::UpdateL |
|
100 // ----------------------------------------------------------------------------- |
|
101 // |
|
102 inline void CMccDataSink::UpdateL( const TDesC8& /*aVal*/ ) |
|
103 { |
|
104 User::Leave( KErrNotSupported ); |
|
105 } |
|
106 |
|
107 // ----------------------------------------------------------------------------- |
|
108 // CMccDataSink::SetResources |
|
109 // ----------------------------------------------------------------------------- |
|
110 // |
|
111 inline void CMccDataSink::SetResources( MMccResources* aResources ) |
|
112 { |
|
113 iMccResources = aResources; |
|
114 } |
|
115 |
|
116 // ----------------------------------------------------------------------------- |
|
117 // CMccDataSink::RateAdaptationRequest |
|
118 // ----------------------------------------------------------------------------- |
|
119 // |
|
120 inline TInt CMccDataSink::RateAdaptationRequest( |
|
121 const TMccEvent& /*aInputData*/, |
|
122 TMccEvent& /*aOutputData*/ ) |
|
123 { |
|
124 return KErrNotSupported; |
|
125 } |
|
126 |
|
127 // ----------------------------------------------------------------------------- |
|
128 // CMccDataSink::RateAdaptationAlert |
|
129 // ----------------------------------------------------------------------------- |
|
130 // |
|
131 inline TInt CMccDataSink::RateAdaptationAlert( |
|
132 const TMccEvent& /*aAdaptationData*/, |
|
133 TAlertType /*aAlertType*/ ) |
|
134 { |
|
135 return KErrNotSupported; |
|
136 } |
|
137 |
|
138 // ----------------------------------------------------------------------------- |
|
139 // CMccDataSink::CMccDataSink |
|
140 // ----------------------------------------------------------------------------- |
|
141 // |
|
142 inline CMccDataSink::CMccDataSink( TUid aType ) : |
|
143 MDataSink( aType ) |
|
144 { |
|
145 } |
|
146 |
|
147 #endif // MCCDATASINK_INL |
|
148 |
|
149 // End of File |