uifw/AknGlobalUI/OldStyleNotif/Inc/AknSoftNotificationPlugin.h
branchRCL_3
changeset 29 a8834a2e9a96
parent 23 3d340a0166ff
child 55 aecbbf00d063
--- a/uifw/AknGlobalUI/OldStyleNotif/Inc/AknSoftNotificationPlugin.h	Tue May 25 12:58:19 2010 +0300
+++ b/uifw/AknGlobalUI/OldStyleNotif/Inc/AknSoftNotificationPlugin.h	Wed Jun 09 09:58:37 2010 +0300
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2002-2008 Nokia Corporation and/or its subsidiary(-ies).
+* Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies).
 * All rights reserved.
 * This component and the accompanying materials are made available
 * under the terms of "Eclipse Public License v1.0"
@@ -31,7 +31,6 @@
 #include <AknNotify.h>
 #include "AknSystemPopup.h"
 #include "AknGroupedNotifierNote.h"
-#include "AknNotifierControllerPlugin.h"
 #include "aknprivatesoftnotificationparameters.h"
 #include "aknmessagereaderlongpressdetector.h" // MAknGroupedNoteObserver    
 
@@ -69,24 +68,15 @@
 NONSHARABLE_CLASS(CAknSoftNotificationSubject) : 
     public CBase, 
     public MEikSrvNotifierBase2, 
-    public MAknGroupedNotifierNoteObserver, 
-    public MAknKeyLockObserver,
+    public MAknGroupedNotifierNoteObserver,
     public MSoftNotificationObserver,
     public MAknMessageNotifierObserver
     {
 public:  // Constructors and destructor
     static CAknSoftNotificationSubject* NewL(
-        MAknKeyLockController* aKeyLockObserver,
-        CAknGlobalNoteSubject* aGlobalNoteController);
+        CAknGlobalNoteSubject* aGlobalNoteController );
         
 public: // Functions from base classes        
-    /**
-     * From MAknKeyLockController 
-     * Called when the status of keylock changes.
-     *
-     * @param aStatus the new status of the keylock.
-     */
-    virtual void KeyLockStatusChange(TKeyLockStatus aStatus);
     
     /**
      * From MEikSrvNotifierBase.
@@ -222,8 +212,7 @@
      * The constructor is private. 
      */
     CAknSoftNotificationSubject(
-        MAknKeyLockController* aKeyLockObserver,
-        CAknGlobalNoteSubject* aGlobalNoteController);
+        CAknGlobalNoteSubject* aGlobalNoteController );
 
     void HandleNotifierMessageL(const TDesC8& aBuffer, TInt& aNoteId );
 
@@ -284,8 +273,6 @@
 
     TBool CheckIfAlreadyExists(TAknSoftNotificationType aType);
 
-    TBool AutoLockEnabled();
-
     void SetNcnFlag(TBool aValue);
     static TInt HandleNcnFlagStateChange(TAny *aPtr);
 
@@ -301,7 +288,7 @@
     
 private: // Data
     TNotifierInfo iInfo;
-    MAknKeyLockController* iKeyLockController;
+
     CAknGlobalNoteSubject* iGlobalNoteController;
     
     // The array keeps track of unselected soft notifications in priority order.
@@ -351,7 +338,6 @@
     TBool iNotificationsSaved;
     CIdle* iIdle;
     static TInt SetIdleStateFalse(TAny* aThis);
-    TBool iKeysLocked;
     
 public: // To allow static method above access this.
     TBool iIdleStateActive;