76 CAknCommonNotifierWrapper::NewL( KDeviceSelectionNotifierUid, |
76 CAknCommonNotifierWrapper::NewL( KDeviceSelectionNotifierUid, |
77 KBTInquiryChannel, |
77 KBTInquiryChannel, |
78 KBTInquiryPriority, |
78 KBTInquiryPriority, |
79 _L("BTNotif.dll"), |
79 _L("BTNotif.dll"), |
80 KMaxSynchReplyBufLength); |
80 KMaxSynchReplyBufLength); |
81 |
81 |
|
82 CleanupStack::PushL( master ); |
82 subjects->AppendL( master ); |
83 subjects->AppendL( master ); |
83 |
84 CleanupStack::Pop( master ); |
84 // Notifiers using masters session |
85 |
85 subjects->AppendL(new (ELeave) CAknNotifierWrapperLight(*master, |
86 // Notifiers using masters session |
86 KBTManAuthNotifierUid, |
87 CAknNotifierWrapperLight* notif = NULL; |
87 KBTAuthorisationChannel, |
88 notif = new (ELeave) CAknNotifierWrapperLight(*master, |
88 KBTAuthorisationPriority)); |
89 KBTManAuthNotifierUid, |
89 |
90 KBTAuthorisationChannel, |
90 subjects->AppendL(new (ELeave) CAknNotifierWrapperLight(*master, |
91 KBTAuthorisationPriority); |
91 KBTPinCodeEntryNotifierUid, |
92 CleanupStack::PushL( notif ); |
92 KBTAuthenticationChannel, |
93 subjects->AppendL( notif ); |
93 KBTAuthenticationPriority)); |
94 CleanupStack::Pop( notif ); |
94 |
95 |
95 subjects->AppendL(new (ELeave) CAknNotifierWrapperLight(*master, |
96 notif = new (ELeave) CAknNotifierWrapperLight(*master, |
96 KBTObexPasskeyQueryNotifierUid, |
97 KBTPinCodeEntryNotifierUid, |
97 KBTObexPINChannel, |
98 KBTAuthenticationChannel, |
98 KBTObexPinPriority)); |
99 KBTAuthenticationPriority); |
99 |
100 CleanupStack::PushL( notif ); |
100 subjects->AppendL(new (ELeave) CAknNotifierWrapperLight(*master, |
101 subjects->AppendL( notif ); |
101 KPowerModeSettingNotifierUid, |
102 CleanupStack::Pop( notif ); |
102 KBTPowerModeChannel, |
103 |
103 KBTPowerModePriority)); |
104 notif = new (ELeave) CAknNotifierWrapperLight(*master, |
104 |
105 KBTObexPasskeyQueryNotifierUid, |
105 subjects->AppendL(new (ELeave) CAknNotifierWrapperLight(*master, |
106 KBTObexPINChannel, |
106 KBTGenericInfoNotifierUid, |
107 KBTObexPinPriority); |
107 KBTGenericInfoNotifierUid, |
108 CleanupStack::PushL( notif ); |
108 KBTGenericInfoNotifierPriority)); |
109 subjects->AppendL( notif ); |
109 |
110 CleanupStack::Pop( notif ); |
110 subjects->AppendL(new (ELeave) CAknNotifierWrapperLight(*master, |
111 |
111 KBTGenericQueryNotifierUid, |
112 notif = new (ELeave) CAknNotifierWrapperLight(*master, |
112 KBTGenericQueryNotifierUid, |
113 KPowerModeSettingNotifierUid, |
113 KBTGenericQueryNotifierPriority)); |
114 KBTPowerModeChannel, |
114 |
115 KBTPowerModePriority); |
115 subjects->AppendL(new (ELeave) CAknNotifierWrapperLight(*master, |
116 CleanupStack::PushL( notif ); |
116 KPbapAuthNotifierUid, |
117 subjects->AppendL( notif ); |
117 KBTObexPINChannel, |
118 CleanupStack::Pop( notif ); |
118 KBTObexPinPriority)); |
119 |
119 |
120 notif = new (ELeave) CAknNotifierWrapperLight(*master, |
120 subjects->AppendL(new (ELeave) CAknNotifierWrapperLight(*master, |
121 KBTGenericInfoNotifierUid, |
121 KBTPairedDeviceSettingNotifierUid, |
122 KBTGenericInfoNotifierUid, |
122 KBTPairedDeviceSettingChannel, |
123 KBTGenericInfoNotifierPriority); |
123 KBTPairedDeviceSettingPriority)); |
124 CleanupStack::PushL( notif ); |
124 |
125 subjects->AppendL( notif ); |
125 subjects->AppendL(new (ELeave) CAknNotifierWrapperLight(*master, |
126 CleanupStack::Pop( notif ); |
126 KBTNumericComparisonNotifierUid, |
127 |
127 KBTNumericComparisonNotifierUid, |
128 notif = new (ELeave) CAknNotifierWrapperLight(*master, |
128 KBTNumericComparisonPriority)); |
129 KBTGenericQueryNotifierUid, |
129 |
130 KBTGenericQueryNotifierUid, |
130 subjects->AppendL(new (ELeave) CAknNotifierWrapperLight(*master, |
131 KBTGenericQueryNotifierPriority); |
131 KBTPasskeyDisplayNotifierUid, |
132 CleanupStack::PushL( notif ); |
132 KBTPasskeyDisplayNotifierUid, |
133 subjects->AppendL( notif ); |
133 KBTPasskeyEntryNotifierPriority)); |
134 CleanupStack::Pop( notif ); |
134 |
135 |
135 subjects->AppendL(new (ELeave) CAknNotifierWrapperLight(*master, |
136 notif = new (ELeave) CAknNotifierWrapperLight(*master, |
136 KBTEnterpriseItSecurityInfoNotifierUid, |
137 KPbapAuthNotifierUid, |
137 KBTEnterpriseItSecurityInfoNotifierUid, |
138 KBTObexPINChannel, |
138 KBTEnterpriseItSecurityInfoNotifierPriority)); |
139 KBTObexPinPriority); |
|
140 CleanupStack::PushL( notif ); |
|
141 subjects->AppendL( notif ); |
|
142 CleanupStack::Pop( notif ); |
|
143 |
|
144 notif = new (ELeave) CAknNotifierWrapperLight(*master, |
|
145 KBTPairedDeviceSettingNotifierUid, |
|
146 KBTPairedDeviceSettingChannel, |
|
147 KBTPairedDeviceSettingPriority); |
|
148 CleanupStack::PushL( notif ); |
|
149 subjects->AppendL( notif ); |
|
150 CleanupStack::Pop( notif ); |
|
151 |
|
152 notif = new (ELeave) CAknNotifierWrapperLight(*master, |
|
153 KBTNumericComparisonNotifierUid, |
|
154 KBTNumericComparisonNotifierUid, |
|
155 KBTNumericComparisonPriority); |
|
156 CleanupStack::PushL( notif ); |
|
157 subjects->AppendL( notif ); |
|
158 CleanupStack::Pop( notif ); |
|
159 |
|
160 notif = new (ELeave) CAknNotifierWrapperLight(*master, |
|
161 KBTPasskeyDisplayNotifierUid, |
|
162 KBTPasskeyDisplayNotifierUid, |
|
163 KBTPasskeyEntryNotifierPriority); |
|
164 CleanupStack::PushL( notif ); |
|
165 subjects->AppendL( notif ); |
|
166 CleanupStack::Pop( notif ); |
|
167 |
|
168 notif = new (ELeave) CAknNotifierWrapperLight(*master, |
|
169 KBTEnterpriseItSecurityInfoNotifierUid, |
|
170 KBTEnterpriseItSecurityInfoNotifierUid, |
|
171 KBTEnterpriseItSecurityInfoNotifierPriority); |
|
172 |
|
173 CleanupStack::PushL( notif ); |
|
174 subjects->AppendL( notif ); |
|
175 CleanupStack::Pop( notif ); |
139 |
176 |
140 CleanupStack::Pop(); // array cleanup |
177 CleanupStack::Pop(); // array cleanup |
141 return(subjects); |
178 return(subjects); |
142 } |
179 } |
143 |
180 |