coreapplicationuis/accfwuinotifier/src/AccFwUiNotifierProxy.cpp
branchRCL_3
changeset 20 c2c61fdca848
parent 19 924385140d98
equal deleted inserted replaced
19:924385140d98 20:c2c61fdca848
     1 /*
     1 /*
     2 * Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies). 
     2 * Copyright (c) 2002-2004 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".
    17 
    17 
    18 
    18 
    19 // INCLUDE FILES
    19 // INCLUDE FILES
    20 #include <e32std.h>
    20 #include <e32std.h>
    21 #include <ecom/implementationproxy.h>
    21 #include <ecom/implementationproxy.h>
       
    22 
    22 #include "AccFwUiNoteNotifier.h"
    23 #include "AccFwUiNoteNotifier.h"
       
    24 #include "AccFwUiDialogNotifier.h"
    23 #include "acc_debug.h"
    25 #include "acc_debug.h"
    24 
    26 
    25 // EXTERNAL DATA STRUCTURES
    27 // EXTERNAL DATA STRUCTURES
    26 
    28 
    27 // EXTERNAL FUNCTION PROTOTYPES
    29 // EXTERNAL FUNCTION PROTOTYPES
    28 
    30 
    29 // CONSTANTS
    31 // CONSTANTS
    30 
    32 
    31 const TInt KNumberOfImplementations(1);
    33 const TInt KNumberOfImplementations(2);
    32 
    34 
    33 // MACROS
    35 // MACROS
    34 
    36 
    35 // LOCAL CONSTANTS AND MACROS
    37 // LOCAL CONSTANTS AND MACROS
    36 
    38 
    47     {
    49     {
    48     
    50     
    49     API_TRACE_( "[AccFW: ACCFWUINOTIFIER] CreateNotifiersL() - enter" );
    51     API_TRACE_( "[AccFW: ACCFWUINOTIFIER] CreateNotifiersL() - enter" );
    50     MEikSrvNotifierBase2* note = CAccFwUiNoteNotifier::NewL();
    52     MEikSrvNotifierBase2* note = CAccFwUiNoteNotifier::NewL();
    51     CleanupStack::PushL( note );
    53     CleanupStack::PushL( note );
    52           
    54     
       
    55     MEikSrvNotifierBase2* dialog = CAccFwUiDialogNotifier::NewL();
       
    56     CleanupStack::PushL( dialog );        
       
    57     
    53     aSubjects->AppendL( note );
    58     aSubjects->AppendL( note );
    54      
    59     aSubjects->AppendL( dialog );
    55       CleanupStack::Pop( note );
    60     
       
    61     CleanupStack::Pop( dialog );
       
    62     CleanupStack::Pop( note );
    56     API_TRACE_( "[AccFW: ACCFWUINOTIFIER] CreateNotifiersL() - return void" );
    63     API_TRACE_( "[AccFW: ACCFWUINOTIFIER] CreateNotifiersL() - return void" );
    57     
    64     
    58     }
    65     }
    59     
    66     
    60 CArrayPtr<MEikSrvNotifierBase2>* NotifierArray()
    67 CArrayPtr<MEikSrvNotifierBase2>* NotifierArray()