uifw/AknGlobalUI/OldStyleNotif/Src/OldStylePlugin.cpp
branchRCL_3
changeset 19 aecbbf00d063
parent 18 fcdfafb36fe7
child 20 d48ab3b357f1
equal deleted inserted replaced
18:fcdfafb36fe7 19:aecbbf00d063
     1 /*
     1 /*
     2 * Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2002-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".
    72     
    72     
    73     // ----------------------------
    73     // ----------------------------
    74     // Soft note notifier.
    74     // Soft note notifier.
    75     // ----------------------------
    75     // ----------------------------
    76     CAknSoftNotificationSubject* softNotificationSubject = CAknSoftNotificationSubject::NewL(
    76     CAknSoftNotificationSubject* softNotificationSubject = CAknSoftNotificationSubject::NewL(
    77         globalNoteSubject );
    77         keyLockNotifier, 
       
    78         globalNoteSubject);
    78         
    79         
    79     CleanupStack::PushL(softNotificationSubject);
    80     CleanupStack::PushL(softNotificationSubject);
    80     subjects->AppendL(softNotificationSubject);
    81     subjects->AppendL(softNotificationSubject);
    81     CleanupStack::Pop(softNotificationSubject);
    82     CleanupStack::Pop(softNotificationSubject);
    82 
    83 
   144     // =========================================================================
   145     // =========================================================================
   145     
   146     
   146     // ----------------------------
   147     // ----------------------------
   147     // Global list query.
   148     // Global list query.
   148     // ----------------------------
   149     // ----------------------------
   149     CAknGlobalListQuerySubject* listQuerySubject = CAknGlobalListQuerySubject::NewL(keyLockNotifier);
   150     CAknGlobalListQuerySubject* listQuerySubject = CAknGlobalListQuerySubject::NewL();
   150     
   151     
   151     CleanupStack::PushL(listQuerySubject);
   152     CleanupStack::PushL(listQuerySubject);
   152     subjects->AppendL(listQuerySubject);
   153     subjects->AppendL(listQuerySubject);
   153     CleanupStack::Pop(listQuerySubject);    
   154     CleanupStack::Pop(listQuerySubject);    
   154     
   155