uifw/AknGlobalUI/OldStyleNotif/Inc/AknSystemListPopup.h
branchRCL_3
changeset 19 aecbbf00d063
parent 18 fcdfafb36fe7
child 20 d48ab3b357f1
equal deleted inserted replaced
18:fcdfafb36fe7 19:aecbbf00d063
    22 #include <e32base.h>
    22 #include <e32base.h>
    23 #include <eiknotapi.h>
    23 #include <eiknotapi.h>
    24 #include <eikcmobs.h>
    24 #include <eikcmobs.h>
    25 #include <AknNotifyStd.h>
    25 #include <AknNotifyStd.h>
    26 #include "AknListQueryNotificationDialog.h"
    26 #include "AknListQueryNotificationDialog.h"
    27 #include "AknNotifierControllerPlugin.h"
       
    28 
    27 
    29 NONSHARABLE_CLASS(CAknGlobalListQuerySubject): 
    28 NONSHARABLE_CLASS(CAknGlobalListQuerySubject): 
    30     public CBase, 
    29     public CBase, 
    31     public MEikSrvNotifierBase2, 
    30     public MEikSrvNotifierBase2, 
    32     public MAknListQueryNotificationCallback
    31     public MAknListQueryNotificationCallback
    33     {
    32     {
    34 public:
    33 public:
    35     static CAknGlobalListQuerySubject* NewL(MAknKeyLockController* aKeyLockController);
    34     static CAknGlobalListQuerySubject* NewL();
    36     virtual ~CAknGlobalListQuerySubject();
    35     virtual ~CAknGlobalListQuerySubject();
    37     
    36     
    38     // From MEikSrvNotifierBase.
    37     // From MEikSrvNotifierBase.
    39     void Release();
    38     void Release();
    40     TNotifierInfo RegisterL();
    39     TNotifierInfo RegisterL();
    44     TPtrC8 UpdateL(const TDesC8& aBuffer);
    43     TPtrC8 UpdateL(const TDesC8& aBuffer);
    45     void Cancel();
    44     void Cancel();
    46     
    45     
    47     // From MAknListQueryNotificationCallback.
    46     // From MAknListQueryNotificationCallback.
    48     void QueryDismissedL(TInt aResult);
    47     void QueryDismissedL(TInt aResult);
    49     
       
    50     TBool IsKeyLockEnable()
       
    51         {
       
    52         return iKeyLockController->IsKeyLockEnabled();
       
    53         }
       
    54 
    48 
    55 private:
    49 private:
    56     CAknGlobalListQuerySubject(MAknKeyLockController* aKeyLockController);
    50     CAknGlobalListQuerySubject();
    57     void ConstructL();
    51     void ConstructL();
    58 
    52 
    59 private:
    53 private:
    60     CAknListQueryNotificationDialog* iDlg;
    54     CAknListQueryNotificationDialog* iDlg;
    61     RMessagePtr2 iMessage;
    55     RMessagePtr2 iMessage;
    70     TPtrC iArrayText;  // Array text
    64     TPtrC iArrayText;  // Array text
    71     TInt iListIndex;
    65     TInt iListIndex;
    72     TBool iAppsKeySuppressed;
    66     TBool iAppsKeySuppressed;
    73     
    67     
    74     CEikonEnv* iStoredEikonEnv;
    68     CEikonEnv* iStoredEikonEnv;
    75     
       
    76     MAknKeyLockController* iKeyLockController;
       
    77     
       
    78     };
    69     };
    79 
    70 
    80 #endif // __AKNSYSTEMLISTPOPUP_H__
    71 #endif // __AKNSYSTEMLISTPOPUP_H__
    81 
    72 
    82 // End of file
    73 // End of file