equal
deleted
inserted
replaced
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 warning notifier implementation |
|
15 * |
8 * |
16 */ |
9 * Initial Contributors: |
17 |
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Usb warning notifier implementation |
|
15 * |
|
16 */ |
18 |
17 |
19 #ifndef C_USBWARNINGNOTIFIER_H |
18 #ifndef C_USBWARNINGNOTIFIER_H |
20 #define C_USBWARNINGNOTIFIER_H |
19 #define C_USBWARNINGNOTIFIER_H |
21 |
20 |
22 #include <e32base.h> |
21 #include <e32base.h> |
38 * @param aNotifManager Owner of the class, will destroy the object when needed |
37 * @param aNotifManager Owner of the class, will destroy the object when needed |
39 * @param aNotifId Id of the notifier |
38 * @param aNotifId Id of the notifier |
40 * @return Pointer to the new instance of CUsbWarningNotifier |
39 * @return Pointer to the new instance of CUsbWarningNotifier |
41 */ |
40 */ |
42 static CUsbWarningNotifier* NewL(RNotifier& aNotifier, |
41 static CUsbWarningNotifier* NewL(RNotifier& aNotifier, |
43 CUsbNotifManager* aNotifManager, TUint aNotifId); |
42 CUsbNotifManager& aNotifManager, TUint aNotifId); |
44 |
43 |
45 /** |
44 /** |
46 * Destructor. |
45 * Destructor. |
47 */ |
46 */ |
48 virtual ~CUsbWarningNotifier(); |
47 virtual ~CUsbWarningNotifier(); |
54 * @param aNotifier RNotifier API |
53 * @param aNotifier RNotifier API |
55 * @param aNotifManager Owner of the class, will destroy the object when needed |
54 * @param aNotifManager Owner of the class, will destroy the object when needed |
56 * @param aNotifId Id of the notifier |
55 * @param aNotifId Id of the notifier |
57 */ |
56 */ |
58 CUsbWarningNotifier(RNotifier& aNotifier, |
57 CUsbWarningNotifier(RNotifier& aNotifier, |
59 CUsbNotifManager* aNotifManager, TUint aNotifId); |
58 CUsbNotifManager& aNotifManager, TUint aNotifId); |
60 |
59 |
61 /** |
60 /** |
62 * 2nd phase construction |
61 * 2nd phase construction |
63 */ |
62 */ |
64 void ConstructL(); |
63 void ConstructL(); |