diff -r 21625e5de155 -r 93c0009bd947 usbmgmt/usbmgr/usbman/extensionplugin/public/MUsbManExtensionPluginObserver.h --- a/usbmgmt/usbmgr/usbman/extensionplugin/public/MUsbManExtensionPluginObserver.h Mon Sep 06 11:27:08 2010 +0800 +++ b/usbmgmt/usbmgr/usbman/extensionplugin/public/MUsbManExtensionPluginObserver.h Thu Sep 16 12:03:29 2010 +0800 @@ -26,9 +26,12 @@ #define USBMANEXTENSIONPLUGINOBSERVER_H #include -#include class MUsbDeviceNotify; +#ifdef SYMBIAN_USB_BATTERYCHARGING_V1_1 +class MUsbChargingNotify; +#endif +class RDevUsbcClient; class MUsbmanExtensionPluginObserver { @@ -45,6 +48,9 @@ @param aObserver The observer to register for state changes */ IMPORT_C void RegisterStateObserverL(MUsbDeviceNotify& aObserver); +#ifdef SYMBIAN_USB_BATTERYCHARGING_V1_1 + IMPORT_C void RegisterChargingObserverL(MUsbChargingNotify& aObserver); +#endif private: /** @@ -56,6 +62,13 @@ @see RegisterStateObserverL. */ virtual void MuepoDoRegisterStateObserverL(MUsbDeviceNotify& aObserver) = 0; + + /** + @see RegisterChargingObserverL. + */ +#ifdef SYMBIAN_USB_BATTERYCHARGING_V1_1 + virtual void MuepoDoRegisterChargingObserverL(MUsbChargingNotify& aObserver) = 0; +#endif }; #endif // USBMANEXTENSIONPLUGINOBSERVER_H