equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2008 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". |
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Base classes for Usb notifier wrapper |
|
15 * |
8 * |
16 */ |
9 * Initial Contributors: |
17 |
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Base classes for Usb notifier wrapper |
|
15 * |
|
16 */ |
18 |
17 |
19 #ifndef C_CUSBNOTIFIER_H |
18 #ifndef C_CUSBNOTIFIER_H |
20 #define C_CUSBNOTIFIER_H |
19 #define C_CUSBNOTIFIER_H |
21 |
20 |
22 #include <e32base.h> |
21 #include <e32base.h> |
60 * Default constructor |
59 * Default constructor |
61 * @param aNotifManager manager |
60 * @param aNotifManager manager |
62 * @param acat Category |
61 * @param acat Category |
63 * @param aNotidId id |
62 * @param aNotidId id |
64 */ |
63 */ |
65 CUsbNotifier(CUsbNotifManager* aNotifManager, TUid aCat, TUint aNotifId); |
64 CUsbNotifier(CUsbNotifManager& aNotifManager, TUid aCat, TUint aNotifId); |
66 |
65 |
67 /** |
66 /** |
68 * Set by child-class if the concrete notifier needs feedback from end-user |
67 * Set by child-class if the concrete notifier needs feedback from end-user |
69 */ |
68 */ |
70 void SetFeedbackNeeded(); |
69 void SetFeedbackNeeded(); |
75 /** |
74 /** |
76 * The manager of all usb notifieres. |
75 * The manager of all usb notifieres. |
77 * All notifiers are created, destroied and manupulated by the manager. |
76 * All notifiers are created, destroied and manupulated by the manager. |
78 * Not own |
77 * Not own |
79 */ |
78 */ |
80 CUsbNotifManager* iNotifManager; |
79 CUsbNotifManager& iNotifManager; |
81 |
80 |
82 /** |
81 /** |
83 * Category of the notifier. Needed for cancelling |
82 * Category of the notifier. Needed for cancelling |
84 */ |
83 */ |
85 TUid iCat; |
84 TUid iCat; |