equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2002-2004 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2002-2010 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". |
28 |
28 |
29 // EXTERNAL FUNCTION PROTOTYPES |
29 // EXTERNAL FUNCTION PROTOTYPES |
30 |
30 |
31 // CONSTANTS |
31 // CONSTANTS |
32 |
32 |
33 const TInt KNumberOfImplementations(2); |
33 const TInt KNumberOfImplementations(1); |
34 |
34 |
35 // MACROS |
35 // MACROS |
36 |
36 |
37 // LOCAL CONSTANTS AND MACROS |
37 // LOCAL CONSTANTS AND MACROS |
38 |
38 |
49 { |
49 { |
50 |
50 |
51 API_TRACE_( "[AccFW: ACCFWUINOTIFIER] CreateNotifiersL() - enter" ); |
51 API_TRACE_( "[AccFW: ACCFWUINOTIFIER] CreateNotifiersL() - enter" ); |
52 MEikSrvNotifierBase2* note = CAccFwUiNoteNotifier::NewL(); |
52 MEikSrvNotifierBase2* note = CAccFwUiNoteNotifier::NewL(); |
53 CleanupStack::PushL( note ); |
53 CleanupStack::PushL( note ); |
54 |
54 |
55 MEikSrvNotifierBase2* dialog = CAccFwUiDialogNotifier::NewL(); |
|
56 CleanupStack::PushL( dialog ); |
|
57 |
|
58 aSubjects->AppendL( note ); |
55 aSubjects->AppendL( note ); |
59 aSubjects->AppendL( dialog ); |
56 |
60 |
57 CleanupStack::Pop( note ); |
61 CleanupStack::Pop( dialog ); |
|
62 CleanupStack::Pop( note ); |
|
63 API_TRACE_( "[AccFW: ACCFWUINOTIFIER] CreateNotifiersL() - return void" ); |
58 API_TRACE_( "[AccFW: ACCFWUINOTIFIER] CreateNotifiersL() - return void" ); |
64 |
59 |
65 } |
60 } |
66 |
61 |
67 CArrayPtr<MEikSrvNotifierBase2>* NotifierArray() |
62 CArrayPtr<MEikSrvNotifierBase2>* NotifierArray() |