usbengines/usbotgwatcher/inc/cusbwaitnotifier.h
branchRCL_3
changeset 20 a15c582fbf97
parent 0 1e05558e2206
child 21 ff9df6630274
equal deleted inserted replaced
13:7068aba64af5 20:a15c582fbf97
     1 /*
     1 /*
     2 * Copyright (c) 2008-2008 Nokia Corporation and/or its subsidiary(-ies).
     2  * Copyright (c) 2008-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".
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Usb waiting notifier implementation
       
    15  *
     8  *
    16 */
     9  * Initial Contributors:
    17 
    10  * Nokia Corporation - initial contribution.
       
    11  *
       
    12  * Contributors:
       
    13  *
       
    14  * Description:  Usb waiting notifier implementation
       
    15  *
       
    16  */
    18 
    17 
    19 #ifndef C_USBWAITNOTIFIER_H
    18 #ifndef C_USBWAITNOTIFIER_H
    20 #define C_USBWAITNOTIFIER_H
    19 #define C_USBWAITNOTIFIER_H
    21 
    20 
    22 #include <e32base.h>
    21 #include <e32base.h>
    37      * @param aNotifManager Owner of the class, will destroy the object when needed
    36      * @param aNotifManager Owner of the class, will destroy the object when needed
    38      * @param aNotifId Id of the notifier
    37      * @param aNotifId Id of the notifier
    39      * @return Pointer to the new instance of CUsbWaitNotifier
    38      * @return Pointer to the new instance of CUsbWaitNotifier
    40      */
    39      */
    41     static CUsbWaitNotifier* NewL(RNotifier& aNotifier,
    40     static CUsbWaitNotifier* NewL(RNotifier& aNotifier,
    42             CUsbNotifManager* aNotifManager, TUint aNotifId);
    41             CUsbNotifManager& aNotifManager, TUint aNotifId);
    43 
    42 
    44     /**
    43     /**
    45      * Destructor.
    44      * Destructor.
    46      */
    45      */
    47     virtual ~CUsbWaitNotifier();
    46     virtual ~CUsbWaitNotifier();
    52      * Default constructor
    51      * Default constructor
    53      * @param aNotifier RNotifier API
    52      * @param aNotifier RNotifier API
    54      * @param aNotifManager Owner of the class, will destroy the object when needed
    53      * @param aNotifManager Owner of the class, will destroy the object when needed
    55      * @param aNotifId Id of the notifier
    54      * @param aNotifId Id of the notifier
    56      */
    55      */
    57     CUsbWaitNotifier(RNotifier& aNotifier, CUsbNotifManager* aNotifManager,
    56     CUsbWaitNotifier(RNotifier& aNotifier, CUsbNotifManager& aNotifManager,
    58             TUint aNotifId);
    57             TUint aNotifId);
    59 
    58 
    60     /**
    59     /**
    61      * 2nd phase constructor
    60      * 2nd phase constructor
    62      */
    61      */