usbengines/usbotgwatcher/inc/cusbstatehostainitiate.h
branchRCL_3
changeset 7 ff9df6630274
parent 6 a15c582fbf97
equal deleted inserted replaced
6:a15c582fbf97 7:ff9df6630274
     1 /*
     1 /*
     2  * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
     2  * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
     3  * All rights reserved.
     3  * All rights reserved.
     4  * This component and the accompanying materials are made available
     4  * This component and the accompanying materials are made available
     5  * under the terms of "Eclipse Public License v1.0"
     5  * under the terms of "Eclipse Public License v1.0"
     6  * which accompanies this distribution, and is available
     6  * which accompanies this distribution, and is available
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
   100     void VBusUpL();
   100     void VBusUpL();
   101 
   101 
   102     // From Host Event notification observer
   102     // From Host Event notification observer
   103     /**
   103     /**
   104      * Device is attached
   104      * Device is attached
   105      * @param Device event data
   105      * @param aInfo Device event data
   106      */
   106      */
   107     void DeviceAttachedL(TDeviceEventInformation);
   107     void DeviceAttachedL(TDeviceEventInformation aInfo);
       
   108     
       
   109     /**
       
   110      * Device is detached
       
   111      * @param aInfo Device event data
       
   112      */
       
   113     void DeviceDetachedL(TDeviceEventInformation aInfo);
   108 
   114 
   109     /**
   115     /**
   110      * Device is detached
   116      * Device is detached
   111      * @param Device event data
   117      * @param aInfo Device event data
   112      */
   118      */
   113     void DriverLoadSuccessL(TDeviceEventInformation);
   119     void DriverLoadSuccessL(TDeviceEventInformation aInfo);
   114 
   120 
   115     /**
   121     /**
   116      * Drivers loaded partially
   122      * Drivers loaded partially
   117      * @param Device event data
   123      * @param aInfo Device event data
   118      */
   124      */
   119     void DriverLoadPartialSuccessL(TDeviceEventInformation);
   125     void DriverLoadPartialSuccessL(TDeviceEventInformation aInfo);
   120 
   126 
   121     /**
   127     /**
   122      * Drivers loading failed
   128      * Drivers loading failed
   123      * @param Device event data
   129      * @param aInfo Device event data
   124      */
   130      */
   125     void DriverLoadFailureL(TDeviceEventInformation);
   131     void DriverLoadFailureL(TDeviceEventInformation aInfo);
   126 
   132 
   127 private:
   133 private:
   128     // data
   134     // data
   129 
   135 
   130     /*
   136     /*
   131      * attachment timer
   137      * attachment timer
   132      * own
   138      * own
   133      */
   139      */
   134     CUsbTimer* iAttachmentTimer;
   140     CUsbTimer* iAttachmentTimer;
   135 
   141 
       
   142     /*
       
   143      * attachment attribute
       
   144      */
       
   145     TBool iDeviceAttached;
   136     };
   146     };
   137 
   147 
   138 #endif //  C_USBSTATEHOSTINITIATE_H
   148 #endif //  C_USBSTATEHOSTINITIATE_H