usbengines/usbotgwatcher/src/cusbstatehostaperipheral.cpp
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".
    77     {
    77     {
    78     return EUsbStateHostAPeripheral;
    78     return EUsbStateHostAPeripheral;
    79     }
    79     }
    80 
    80 
    81 // From OTG state observer
    81 // From OTG state observer
    82 
       
    83 // ---------------------------------------------------------------------------
    82 // ---------------------------------------------------------------------------
    84 // 
    83 // 
    85 // ---------------------------------------------------------------------------
    84 // ---------------------------------------------------------------------------
    86 //
    85 //
    87 void CUsbStateHostAPeripheral::AHostL()
    86 void CUsbStateHostAPeripheral::AHostL()
    88     {
    87     {
    89     LOG_FUNC
    88     LOG_FUNC
    90     ChangeHostStateL( EUsbStateHostAInitiate);
    89     ChangeHostStateL( EUsbStateHostAInitiate);
    91     }
    90     }
    92 
    91 
       
    92 // ---------------------------------------------------------------------------
       
    93 //
       
    94 // ---------------------------------------------------------------------------
       
    95 //
       
    96 void CUsbStateHostAPeripheral::AIdleL()
       
    97     {
       
    98     LOG_FUNC
       
    99     ChangeHostStateL( EUsbStateHostAInitiate);
       
   100     }