diff -r 8ecef05bbada -r a44cdf4b4bf0 usbengines/usbotgwatcher/inc/cusbstatehostabase.h --- a/usbengines/usbotgwatcher/inc/cusbstatehostabase.h Fri Feb 19 23:50:32 2010 +0200 +++ b/usbengines/usbotgwatcher/inc/cusbstatehostabase.h Fri Mar 12 15:48:40 2010 +0200 @@ -1,20 +1,19 @@ /* -* Copyright (c) 2008-2009 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" -* which accompanies this distribution, and is available -* at the URL "http://www.eclipse.org/legal/epl-v10.html". -* -* Initial Contributors: -* Nokia Corporation - initial contribution. -* -* Contributors: -* -* Description: Implementation of the conctet state + * Copyright (c) 2008-2009 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" + * which accompanies this distribution, and is available + * at the URL "http://www.eclipse.org/legal/epl-v10.html". * -*/ - + * Initial Contributors: + * Nokia Corporation - initial contribution. + * + * Contributors: + * + * Description: Implementation of the conctet state + * + */ #ifndef C_USBSTATEHOSTABASE_H #define C_USBSTATEHOSTABASE_H @@ -41,14 +40,13 @@ * default construction * @param aWatcher owner */ - CUsbStateHostABase(CUsbOtgWatcher* aWatcher); + CUsbStateHostABase(CUsbOtgWatcher& aWatcher); /** * second phase construction */ void ConstructL(); - //from CUsbState // From VBus observer /** * VBus down @@ -66,6 +64,16 @@ */ virtual void AVBusErrorL(); + /** + * VBus error happen + */ + virtual void AHostL(); + + /** + * VBus error happen + */ + virtual void APeripheralL(); + // From bus activity observer /** * Bus is in idle @@ -83,6 +91,10 @@ */ virtual void MessageNotificationReceivedL(TInt aMessage); /** + * SRP request received + */ + virtual void SrpReceivedL(); + /** * Connected to hub in wrong level */ virtual void BadHubPositionL();