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