equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2005-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 |
|
18 /** @file |
|
19 @internalComponent |
|
20 */ |
|
21 |
|
22 #ifndef USBBATTERYCHARGING_H |
|
23 #define USBBATTERYCHARGING_H |
|
24 |
|
25 #include <e32base.h> |
|
26 |
|
27 // UID used for central respository |
|
28 const TUid KUsbBatteryChargingCentralRepositoryUid = {0x10208DD7}; // UID3 for usbbatterychargingplugin |
|
29 |
|
30 const TUid KPropertyUidUsbBatteryChargingCategory = {0x101fe1db}; |
|
31 const TUint KPropertyUidUsbBatteryChargingAvailableCurrent = 1; // current negotiated |
|
32 const TUint KPropertyUidUsbBatteryChargingChargingCurrent = 2; // current for charging (i.e. depends on user setting) |
|
33 |
|
34 const TUint KUsbBatteryChargingKeyEnabledUserSetting = 1; |
|
35 const TUint KUsbBatteryChargingKeyNumberOfCurrentValues = 2; |
|
36 |
|
37 const TUint KUsbBatteryChargingCurrentValuesOffset = 0x1000; |
|
38 |
|
39 enum TUsbBatteryChargingUserSetting |
|
40 { |
|
41 EUsbBatteryChargingUserSettingDisabled = 0, |
|
42 EUsbBatteryChargingUserSettingEnabled, |
|
43 }; |
|
44 |
|
45 enum TUsbIdPinState |
|
46 { |
|
47 EUsbBatteryChargingIdPinBRole = 0, |
|
48 EUsbBatteryChargingIdPinARole, |
|
49 }; |
|
50 |
|
51 #endif // USBBATTERYCHARGING_H |