usbmgmt/usbmgrtest/t_charging_emu/inc/tbatterychargingdefinitions.h
changeset 0 c9bc50fca66e
equal deleted inserted replaced
-1:000000000000 0:c9bc50fca66e
       
     1 /*
       
     2 * Copyright (c) 2008-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 #ifndef TBATTERYCHARGINGDEFINITIONS_H
       
    19 #define TBATTERYCHARGINGDEFINITIONS_H
       
    20 
       
    21 #include <e32base.h>
       
    22 
       
    23 
       
    24 const TUint32 KBatteryChargingTUint = 0x102834EB;
       
    25 _LIT(KBattChargingImg, "tbatterychargingrepositorywriter.exe");
       
    26 
       
    27 const TUid KBatteryChargingTUid = {KBatteryChargingTUint};
       
    28 
       
    29 
       
    30 const TUint KBattChargWriteRepositoryUid = 0x101fe1db;
       
    31 const TUint KBattChargReadPropertyCurrentUid = 0x101fe1db;
       
    32 
       
    33 
       
    34 typedef struct TDataFromPropBattChargToTBatteryCharging
       
    35 	{
       
    36 	TInt iCurrent;
       
    37 	TInt iError;
       
    38 	}TDataFromPropBattChargToTBatteryCharging;
       
    39 
       
    40 const TUint KPropBattChargNumOfData	=2;
       
    41 
       
    42 const TUint KBattChargWriteRepositoryKey	= 0x102834EE;
       
    43 const TUint KBattChargWriteRepositoryAckKey	= 0x102834EF;
       
    44 
       
    45 const TUint KBattChargReadCurrentChargingKey	= 0x102834F0;
       
    46 const TUint KBattChargReadCurrentChargingAckKey	= 0x102834F1;
       
    47 
       
    48 
       
    49 #endif //TBATTERYCHARGINGDEFINITIONS_H