diff -r 21625e5de155 -r 93c0009bd947 usbmgmt/usbmgr/usbman/server/public/musbchargingnotify.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/usbmgmt/usbmgr/usbman/server/public/musbchargingnotify.h Thu Sep 16 12:03:29 2010 +0800 @@ -0,0 +1,45 @@ +/* +* Copyright (c) 1997-2010 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* Implements the main object of Usbman that manages all the USB Classes +* and the USB Logical Device (via CUsbDeviceStateWatcher). +* +*/ + +/** + @file + @publishedPartner + @released +*/ + +#ifndef __MUSBCHARGINGNOTIFY_H__ +#define __MUSBCHARGINGNOTIFY_H__ + +const TInt KUsbChargingNotifyInterface = 0x102872D8; + + +class MUsbChargingNotify + { +public: + + /** + Called by USBMAN when it receives charging notification. + @param aChargingType The concrete charging type of notification. + */ + + virtual void UsbChargingPortType(TUint aPortType) = 0; + virtual void PeerDeviceMaxPower(TUint aCurrent) = 0; + }; + +#endif \ No newline at end of file