equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
13 * |
13 * |
14 * Description: Implementation |
14 * Description: Implementation |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
|
18 #include "cusbotgwatcher.h" |
18 #include "cusbstatehostundefined.h" |
19 #include "cusbstatehostundefined.h" |
19 |
20 |
20 #include "definitions.h" |
21 #include "definitions.h" |
21 #include "errors.h" |
22 #include "errors.h" |
22 |
23 |
109 |
110 |
110 // From OTG state observer |
111 // From OTG state observer |
111 // --------------------------------------------------------------------------- |
112 // --------------------------------------------------------------------------- |
112 // |
113 // |
113 // --------------------------------------------------------------------------- |
114 // --------------------------------------------------------------------------- |
114 // |
|
115 void CUsbStateHostUndefined::AVBusErrorL() |
115 void CUsbStateHostUndefined::AVBusErrorL() |
116 { |
116 { |
117 LOG_FUNC |
117 LOG_FUNC |
118 iWatcher.Usb().BusClearError(); |
118 iWatcher.Usb().BusClearError(); |
119 } |
119 } |
135 { |
135 { |
136 LOG_FUNC |
136 LOG_FUNC |
137 } |
137 } |
138 |
138 |
139 // From host state observer |
139 // From host state observer |
140 void CUsbStateHostUndefined::DeviceDetachedL(TDeviceEventInformation /*aInfo*/) |
140 // --------------------------------------------------------------------------- |
|
141 // |
|
142 // --------------------------------------------------------------------------- |
|
143 // |
|
144 void CUsbStateHostUndefined::DeviceAttachedL(TDeviceEventInformation) |
|
145 { |
|
146 LOG_FUNC |
|
147 } |
|
148 |
|
149 // --------------------------------------------------------------------------- |
|
150 // |
|
151 // --------------------------------------------------------------------------- |
|
152 // |
|
153 void CUsbStateHostUndefined::DeviceDetachedL(TDeviceEventInformation) |
|
154 { |
|
155 LOG_FUNC |
|
156 } |
|
157 |
|
158 // --------------------------------------------------------------------------- |
|
159 // |
|
160 // --------------------------------------------------------------------------- |
|
161 // |
|
162 void CUsbStateHostUndefined::DriverLoadSuccessL(TDeviceEventInformation) |
|
163 { |
|
164 LOG_FUNC |
|
165 } |
|
166 |
|
167 // --------------------------------------------------------------------------- |
|
168 // |
|
169 // --------------------------------------------------------------------------- |
|
170 // |
|
171 void CUsbStateHostUndefined::DriverLoadPartialSuccessL(TDeviceEventInformation) |
|
172 { |
|
173 LOG_FUNC |
|
174 } |
|
175 |
|
176 // --------------------------------------------------------------------------- |
|
177 // |
|
178 // --------------------------------------------------------------------------- |
|
179 // |
|
180 void CUsbStateHostUndefined::DriverLoadFailureL(TDeviceEventInformation) |
141 { |
181 { |
142 LOG_FUNC |
182 LOG_FUNC |
143 } |
183 } |
144 |
184 |
145 // --------------------------------------------------------------------------- |
185 // --------------------------------------------------------------------------- |
176 // --------------------------------------------------------------------------- |
216 // --------------------------------------------------------------------------- |
177 // |
217 // |
178 void CUsbStateHostUndefined::BadHubPositionL() |
218 void CUsbStateHostUndefined::BadHubPositionL() |
179 { |
219 { |
180 LOG_FUNC |
220 LOG_FUNC |
181 Panic( EBadHubPositionNotExpected); |
221 PANIC( EBadHubPositionNotExpected); |
182 } |
222 } |