--- a/usbmgmt/usbmgr/usbman/extensionplugin/public/MUsbManExtensionPluginObserver.h Fri Sep 17 08:40:15 2010 +0300
+++ b/usbmgmt/usbmgr/usbman/extensionplugin/public/MUsbManExtensionPluginObserver.h Mon Oct 04 03:06:48 2010 +0300
@@ -26,9 +26,12 @@
#define USBMANEXTENSIONPLUGINOBSERVER_H
#include <e32base.h>
-#include <d32usbc.h>
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