equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 1997-2010 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 * Implements the main object of Usbman that manages all the USB Classes |
|
16 * and the USB Logical Device (via CUsbDeviceStateWatcher). |
|
17 * |
|
18 */ |
|
19 |
|
20 /** |
|
21 @file |
|
22 @publishedPartner |
|
23 @released |
|
24 */ |
|
25 |
|
26 #ifndef __MUSBCHARGINGNOTIFY_H__ |
|
27 #define __MUSBCHARGINGNOTIFY_H__ |
|
28 |
|
29 const TInt KUsbChargingNotifyInterface = 0x102872D8; |
|
30 |
|
31 |
|
32 class MUsbChargingNotify |
|
33 { |
|
34 public: |
|
35 |
|
36 /** |
|
37 Called by USBMAN when it receives charging notification. |
|
38 @param aChargingType The concrete charging type of notification. |
|
39 */ |
|
40 |
|
41 virtual void UsbChargingPortType(TUint aPortType) = 0; |
|
42 virtual void PeerDeviceMaxPower(TUint aCurrent) = 0; |
|
43 }; |
|
44 |
|
45 #endif |