equal
deleted
inserted
replaced
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" |
27 |
28 |
28 NONSHARABLE_CLASS(CAknGlobalListQuerySubject): |
29 NONSHARABLE_CLASS(CAknGlobalListQuerySubject): |
29 public CBase, |
30 public CBase, |
30 public MEikSrvNotifierBase2, |
31 public MEikSrvNotifierBase2, |
31 public MAknListQueryNotificationCallback |
32 public MAknListQueryNotificationCallback |
32 { |
33 { |
33 public: |
34 public: |
34 static CAknGlobalListQuerySubject* NewL(); |
35 static CAknGlobalListQuerySubject* NewL(MAknKeyLockController* aKeyLockController); |
35 virtual ~CAknGlobalListQuerySubject(); |
36 virtual ~CAknGlobalListQuerySubject(); |
36 |
37 |
37 // From MEikSrvNotifierBase. |
38 // From MEikSrvNotifierBase. |
38 void Release(); |
39 void Release(); |
39 TNotifierInfo RegisterL(); |
40 TNotifierInfo RegisterL(); |
43 TPtrC8 UpdateL(const TDesC8& aBuffer); |
44 TPtrC8 UpdateL(const TDesC8& aBuffer); |
44 void Cancel(); |
45 void Cancel(); |
45 |
46 |
46 // From MAknListQueryNotificationCallback. |
47 // From MAknListQueryNotificationCallback. |
47 void QueryDismissedL(TInt aResult); |
48 void QueryDismissedL(TInt aResult); |
|
49 |
|
50 TBool IsKeyLockEnable() |
|
51 { |
|
52 return iKeyLockController->IsKeyLockEnabled(); |
|
53 } |
48 |
54 |
49 private: |
55 private: |
50 CAknGlobalListQuerySubject(); |
56 CAknGlobalListQuerySubject(MAknKeyLockController* aKeyLockController); |
51 void ConstructL(); |
57 void ConstructL(); |
52 |
58 |
53 private: |
59 private: |
54 CAknListQueryNotificationDialog* iDlg; |
60 CAknListQueryNotificationDialog* iDlg; |
55 RMessagePtr2 iMessage; |
61 RMessagePtr2 iMessage; |
64 TPtrC iArrayText; // Array text |
70 TPtrC iArrayText; // Array text |
65 TInt iListIndex; |
71 TInt iListIndex; |
66 TBool iAppsKeySuppressed; |
72 TBool iAppsKeySuppressed; |
67 |
73 |
68 CEikonEnv* iStoredEikonEnv; |
74 CEikonEnv* iStoredEikonEnv; |
|
75 |
|
76 MAknKeyLockController* iKeyLockController; |
|
77 |
69 }; |
78 }; |
70 |
79 |
71 #endif // __AKNSYSTEMLISTPOPUP_H__ |
80 #endif // __AKNSYSTEMLISTPOPUP_H__ |
72 |
81 |
73 // End of file |
82 // End of file |