usbengines/usbotgwatcher/inc/cusbstatehostundefined.h
branchRCL_3
changeset 7 ff9df6630274
parent 6 a15c582fbf97
--- a/usbengines/usbotgwatcher/inc/cusbstatehostundefined.h	Fri Mar 12 15:48:40 2010 +0200
+++ b/usbengines/usbotgwatcher/inc/cusbstatehostundefined.h	Mon Mar 15 12:44:42 2010 +0200
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
+ * Copyright (c) 2008 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"
@@ -19,6 +19,7 @@
 #define C_USBSTATEHOSTUNDEFINED_H
 
 #include "cusbstatehostabase.h"
+
 class CUsbOtgWatcher;
 /**
  *  This class implements behaviour in undefined state (when host)
@@ -56,64 +57,90 @@
      * This might be used in switching states in watcher. New state object searched by its id
      * @return Id
      */
-    virtual TUsbStateIds Id();
+    TUsbStateIds Id();
 
     // From VBus observer
     /**
      * VBus down
      */
-    virtual void VBusDownL();
+    void VBusDownL();
 
     /**
      * VBus UP
      */
-    virtual void VBusUpL();
+    void VBusUpL();
 
     /**
      * VBus error
      */
-    virtual void VBusErrorL();
+    void VBusErrorL();
 
     /**
      * AVBus Error
      */
-    virtual void AVBusErrorL();
+    void AVBusErrorL();
 
     /**
      * Became to Idle when B
      */
-    virtual void BIdleL();
+    void BIdleL();
 
     /**
      * Became to Peripheral when B
      */
-    virtual void BPeripheralL();
+    void BPeripheralL();
 
     // From Host Event notification observer
     /**
+     * Device is attached
+     * @param aInfo Device event data
+     */
+    void DeviceAttachedL(TDeviceEventInformation aInfo);
+
+    /**
      * Device is detached
      * @param aInfo Device event data
      */
-    virtual void DeviceDetachedL(TDeviceEventInformation aInfo);
+    void DeviceDetachedL(TDeviceEventInformation aInfo);
+
+    /**
+     * Drivers successfully loaded
+     * @param aInfo Device event data
+     */
+    void DriverLoadSuccessL(TDeviceEventInformation aInfo);
+
+    /**
+     * Drivers loaded partially
+     * @param aInfo Device event data
+     */
+    void DriverLoadPartialSuccessL(TDeviceEventInformation aInfo);
+    /**
+     * Drivers loading failed
+     * @param aInfo Device event data
+     */
+    void DriverLoadFailureL(TDeviceEventInformation aInfo);
 
     // From message notification observer
     /**
      * Message received
      * @param aMessage message id
      */
-    virtual void MessageNotificationReceivedL(TInt aMessage);
+    void MessageNotificationReceivedL(TInt aMessage);
+
     /**
      * SRP request received
      */
-    virtual void SrpReceivedL();
+    void SrpReceivedL();
+
     /**
      * Connected to hub in wrong level 
      */
-    virtual void BadHubPositionL();
+    void BadHubPositionL();
+
     /**
      * Session request received
      */
-    virtual void SessionRequestedL();
+    void SessionRequestedL();
 
 private:
     // data