usbmgmt/usbmgr/usbman/chargingplugin/inc/default/cusbbatterycharginglicenseehooks.h
changeset 0 c9bc50fca66e
equal deleted inserted replaced
-1:000000000000 0:c9bc50fca66e
       
     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 /**
       
    19  @file
       
    20  @internalComponent
       
    21 */
       
    22 
       
    23 #include <e32base.h>
       
    24 
       
    25 
       
    26 class CUsbBatteryChargingLicenseeHooks : public CBase
       
    27 	{
       
    28 public:
       
    29 	inline static CUsbBatteryChargingLicenseeHooks* NewL();
       
    30 	inline ~CUsbBatteryChargingLicenseeHooks();
       
    31 
       
    32 	inline void StartCharging(TUint aMilliAmps);
       
    33 	inline void StopCharging();
       
    34 private:
       
    35 	inline CUsbBatteryChargingLicenseeHooks();
       
    36 	inline void ConstructL();
       
    37 	};
       
    38 
       
    39 
       
    40 inline CUsbBatteryChargingLicenseeHooks* CUsbBatteryChargingLicenseeHooks::NewL()
       
    41 	{
       
    42 	CUsbBatteryChargingLicenseeHooks* self = new(ELeave) CUsbBatteryChargingLicenseeHooks;
       
    43 	CleanupStack::PushL(self);
       
    44 	self->ConstructL();
       
    45 	CleanupStack::Pop();
       
    46 	return self;
       
    47 	}
       
    48 
       
    49 inline CUsbBatteryChargingLicenseeHooks::~CUsbBatteryChargingLicenseeHooks()
       
    50 	{
       
    51 	}
       
    52 
       
    53 inline void CUsbBatteryChargingLicenseeHooks::StartCharging(TUint /*aMilliAmps*/)
       
    54 	{
       
    55 	}
       
    56 
       
    57 inline void CUsbBatteryChargingLicenseeHooks::StopCharging()
       
    58 	{
       
    59 	}
       
    60 
       
    61 inline CUsbBatteryChargingLicenseeHooks::CUsbBatteryChargingLicenseeHooks()
       
    62 	{
       
    63 	}
       
    64 
       
    65 inline void CUsbBatteryChargingLicenseeHooks::ConstructL()
       
    66 	{
       
    67 	}
       
    68