usbengines/usbotgwatcher/inc/cusbstatehostabase.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".
    63      * VBus error happen
    63      * VBus error happen
    64      */
    64      */
    65     virtual void AVBusErrorL();
    65     virtual void AVBusErrorL();
    66 
    66 
    67     /**
    67     /**
    68      * VBus error happen
    68      * Become A host
    69      */
    69      */
    70     virtual void AHostL();
    70     virtual void AHostL();
    71 
    71 
    72     /**
    72     /**
    73      * VBus error happen
    73      * become A peripheral
    74      */
    74      */
    75     virtual void APeripheralL();
    75     virtual void APeripheralL();
    76 
    76 
    77     // From bus activity observer
    77     // From bus activity observer
    78     /**
    78     /**
    88     /**
    88     /**
    89      * Message received
    89      * Message received
    90      * @param aMessage message id
    90      * @param aMessage message id
    91      */
    91      */
    92     virtual void MessageNotificationReceivedL(TInt aMessage);
    92     virtual void MessageNotificationReceivedL(TInt aMessage);
       
    93 
    93     /**
    94     /**
    94      * SRP request received
    95      * SRP request received
    95      */
    96      */
    96     virtual void SrpReceivedL();
    97     virtual void SrpReceivedL();
       
    98 
    97     /**
    99     /**
    98      * Connected to hub in wrong level 
   100      * Connected to hub in wrong level 
    99      */
   101      */
   100     virtual void BadHubPositionL();
   102     virtual void BadHubPositionL();
       
   103 
   101     /**
   104     /**
   102      * VBus error happened
   105      * VBus error happened
   103      */
   106      */
   104     virtual void VBusErrorL();
   107     virtual void VBusErrorL();
       
   108 
   105     /**
   109     /**
   106      * Session request received
   110      * Session request received
   107      */
   111      */
   108     virtual void SessionRequestedL();
   112     virtual void SessionRequestedL();
   109 
   113