usbmgmt/usbmgr/usbman/extensionplugin/inc/MUsbManExtensionPluginObserverDummy.h
changeset 49 93c0009bd947
parent 48 21625e5de155
equal deleted inserted replaced
48:21625e5de155 49:93c0009bd947
    27 
    27 
    28 #include <e32base.h>
    28 #include <e32base.h>
    29 #include "dummyusblddapi.h"
    29 #include "dummyusblddapi.h"
    30 
    30 
    31 class MUsbDeviceNotify;
    31 class MUsbDeviceNotify;
       
    32 #ifdef SYMBIAN_USB_BATTERYCHARGING_V1_1	
       
    33 class MUsbChargingNotify;
       
    34 #endif
    32 
    35 
    33 class MUsbmanExtensionPluginObserver
    36 class MUsbmanExtensionPluginObserver
    34 	{
    37 	{
    35 
    38 
    36 public:
    39 public:
    43 	/**
    46 	/**
    44 	Called by the plugin to register for device/service state changes from its owner
    47 	Called by the plugin to register for device/service state changes from its owner
    45 	@param aObserver The observer to register for state changes
    48 	@param aObserver The observer to register for state changes
    46 	*/
    49 	*/
    47 	IMPORT_C void RegisterStateObserverL(MUsbDeviceNotify& aObserver);
    50 	IMPORT_C void RegisterStateObserverL(MUsbDeviceNotify& aObserver);
       
    51 #ifdef SYMBIAN_USB_BATTERYCHARGING_V1_1		
       
    52 	IMPORT_C void RegisterChargingObserverL(MUsbChargingNotify& aObserver);
       
    53 #endif	
    48 
    54 
    49 private:
    55 private:
    50 	/**
    56 	/**
    51 	@see DevUsbcClient.
    57 	@see DevUsbcClient.
    52 	*/
    58 	*/
    54 
    60 
    55 	/**
    61 	/**
    56 	@see RegisterStateObserverL.
    62 	@see RegisterStateObserverL.
    57 	*/
    63 	*/
    58 	virtual void MuepoDoRegisterStateObserverL(MUsbDeviceNotify& aObserver) = 0;
    64 	virtual void MuepoDoRegisterStateObserverL(MUsbDeviceNotify& aObserver) = 0;
       
    65 #ifdef SYMBIAN_USB_BATTERYCHARGING_V1_1	
       
    66 	virtual void MuepoDoRegisterChargingObserverL(MUsbChargingNotify& aObserver) = 0;	
       
    67 #endif	
    59 	};
    68 	};
    60 
    69 
    61 #endif // USBMANEXTENSIONPLUGINOBSERVERDUMMY_H
    70 #endif // USBMANEXTENSIONPLUGINOBSERVERDUMMY_H