usbmgmt/usbmgr/usbman/server/INC/musbinternalobservers.h
changeset 0 c9bc50fca66e
equal deleted inserted replaced
-1:000000000000 0:c9bc50fca66e
       
     1 /*
       
     2 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 
       
    18 /**
       
    19  @file
       
    20  @internalComponent
       
    21  @released
       
    22 */
       
    23 
       
    24 #ifndef USBINTERNALOBSERVERS_H
       
    25 #define USBINTERNALOBSERVERS_H
       
    26 
       
    27 /**
       
    28  * The MUsbMessageObserver class
       
    29  *
       
    30  * The mixin used by the USB Otg/Host watcher objects to notify their
       
    31  * owners of any messages that occur
       
    32  *
       
    33  * @internalComponent
       
    34  * @released
       
    35  */
       
    36 class MUsbOtgObserver
       
    37 	{
       
    38 public:
       
    39 	virtual void NotifyMessage(TInt aMessage = 0) = 0;
       
    40 	};
       
    41 
       
    42 /**
       
    43  * The MUsbHostObserver class
       
    44  *
       
    45  * The mixin used by the USB Host watcher objects to notify their
       
    46  * owners of any Host events that occur
       
    47  *
       
    48  * @internalComponent
       
    49  * @released
       
    50  */
       
    51 class MUsbHostObserver
       
    52 	{
       
    53 public:
       
    54 	virtual void NotifyHostEvent(TUint aWatcherId) = 0;
       
    55 	};
       
    56 
       
    57 #endif