2 * Copyright (c) 2002-2008 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
14 * Description: Structures and constant declarations for the AVKON Notifiers.
18 #ifndef AKNNOTIFYSTD_H
19 #define AKNNOTIFYSTD_H
23 #include <eiknotapi.h>
28 const TUid KAknPopupNotifierUid={0x100059DC};
31 * UID for identifying AVKON signal notifier.
34 const TUid KAknSignalNotifierUid={0x100059AB};
37 * UID for identifying AVKON battery notifier.
40 const TUid KAknBatteryNotifierUid={0x100059AC};
43 * UID for identifying AVKON indicator notifier.
46 const TUid KAknSmallIndicatorUid={0x100059AD};
51 const TUid KAknAsyncDemoNotifierUid={0x100059AE};
56 const TUid KAknTestNoteUid={0x100059AF};
59 * UID for identifying AVKON key lock notifier.
62 const TUid KAknKeyLockNotifierUid={0x100059B0};
65 * UID for identifying AVKON global note notifier.
68 const TUid KAknGlobalNoteUid={0x100059B1};
71 * UID for identifying AVKON soft notification notifier.
74 const TUid KAknSoftNotificationUid={0x100059B2};
77 * UID for identifying AVKON incall bubble notifier.
80 const TUid KAknIncallBubbleUid={0x100059B3};
83 * UID for identifying AVKON list query notifier.
86 const TUid KAknGlobalListQueryUid={0x100059B4};
89 * UID for identifying AVKON list msg query notifier.
92 const TUid KAknGlobalListMsgQueryUid={0x20011102};
95 * UID for identifying AVKON message query notifier.
98 const TUid KAknGlobalMsgQueryUid={0x100059CB};
101 * UID for identifying AVKON confirmation query notifier.
104 const TUid KAknGlobalConfirmationQueryUid={0x100059DB};
107 * UID for identifying AVKON progress dialog notifier.
110 const TUid KAknGlobalProgressDialogUid={0x10005A04};
115 const TUid KAknMemoryCardDialogUid={0x101F467A};
120 const TUid KAknNotifierControllerUid={0x1020721C};
124 * AVKON notifier channel UID for notes.
127 const TUid EAknNotifierChannelNote = {1};
129 * AVKON notifier channel UID for lists.
132 const TUid EAknNotifierChannelList = {2};
134 * AVKON notifier channel UID for message queries.
137 const TUid EAknNotifierChannelMsgQuery = {3};
139 * AVKON notifier channel UID for confirmation queries.
142 const TUid EAknNotifierChannelConfirmationQuery = {4};
144 * AVKON notifier channel UID for progress dialogs.
147 const TUid EAknNotifierChannelProgressDialog = {5};
149 * AVKON notifier channel UID for list message queries.
152 const TUid EAknNotifierChannelListMsgQuery = {6};
155 * Signal state notifier parameter structure.
158 struct SAknSignalNotifyParams
165 * Battery state notifier parameter structure.
168 struct SAknBatteryNotifyParams
170 enum { ERecharge, EStopRecharge, ENoRecharge, ESetValue, ESetState } iType;
176 * Small indicator notifier parameter structure.
179 struct SAknSmallIndicatorParams
181 TUid iSmallIndicatorUid;
186 * Incall status bubble notifier parameter structure.
189 struct SAknIncallBubbleParams
191 TInt iIncallBubbleFlags;
195 * Key lock notifier reasons.
198 enum TKeyLockNotifierReason
206 ECancelAllNotifications,
207 EEnableAutoLockEmulation,
210 // add normal keylock operations before this
211 ECommandFSWToHideApplication=99
215 * Soft note notifier parameter structure.
218 struct SAknSoftNoteNotifierParams
221 TInt iNoteCbaResource;
226 * Key lock notifier parameter structure.
229 struct SAknKeyLockNotifierParams
231 TKeyLockNotifierReason iReason;
238 enum TAknGlobalNoteType
240 EAknGlobalInformationNote = 1,
241 EAknGlobalWarningNote,
242 EAknGlobalConfirmationNote,
244 EAknGlobalChargingNote,
246 EAknGlobalPermanentNote,
247 EAknGlobalNotChargingNote,
248 EAknGlobalBatteryFullNote,
249 EAknGlobalBatteryLowNote,
250 EAknGlobalRechargeBatteryNote,
251 EAknCancelGlobalNote,
253 EAknGlobalBatteryFullUnplugNote = 105,
254 EAknGlobalUnplugChargerNote
258 * Global note parameters.
261 struct SAknGlobalNoteParams
263 TAknGlobalNoteType iType;
273 * Global note return parameter structure.
276 struct SAknGlobalNoteReturnParams
282 * Global query commands.
285 enum TAknGlobalQueryCmd
287 EAknShowGlobalQuery=1,
288 EAknCancelGlobalQuery,
289 EAknUpdateGlobalQuery,
291 EAknMoveDownGlobalListQuery,
292 EAknMoveUpGlobalListQuery,
293 EAknSelectGlobalListQuery,
294 // Progess dialog cmds
295 EAknFinishGlobalProgressDialog
299 * Global list query parameter structure.
302 struct SAknGlobalListQueryParams
304 TAknGlobalQueryCmd iCmd;
309 * Global message query parameter structure.
312 struct SAknGlobalMsgQueryParams
314 TAknGlobalQueryCmd iCmd;
319 * Global progress note parameter structure.
322 struct SAknGlobalProgressDialogParams
324 TAknGlobalQueryCmd iCmd;
330 * Soft notification types.
333 enum TAknSoftNotificationType
335 ENoSoftNotification = -1,
336 ENetworkInformationNotification=0,
337 ESelectNetworkNotification,
338 EUnstructuredSSDataNotification,
339 EVoiceMailNotification,
340 ESeparateVoiceMailOnLine1Notification,
341 ESeparateVoiceMailOnLine2Notification,
342 ECellBroadcastNotification,
344 EDeliveryReportNotification,
345 EClass0SmsNotification,
347 EMissedCallsNotification,
348 ENewMessagesNotification,
349 ENewMailNotification,
351 EShowActiveNotifications,
353 EShowGroupedNotification,
354 ECustomSoftNotification,
355 EChatMessageNotification,
356 EMaxSoftNotification,
361 * Soft notification parameters.
364 struct SAknSoftNotificationParams
366 /** The type of the soft notification, @see @c TAknSoftNotificationType
368 TAknSoftNotificationType iType;
371 * @c iIsCancel is used to decide whether to spawn a new
372 * (or add the number on an existing) soft notification or
373 * to cancel a type of soft notification. Please note that
374 * calling a cancel on a certain type of soft notification
375 * cancels all soft notifications of that type.
380 * This parameter is intended only to be used when setting
381 * the number of new messages. Stay clear otherwise!
390 enum TAknSignalStates
392 EAknSignalGprsStateOff = 0,
393 EAknSignalGprsStateOn = 1,
394 EAknSignalGprsStateNotChanged = -1,
395 EAknSignalStateNotChanged = -2,
396 // Constants below are used for syncronizing signalpane and navipane background types.
397 EAknSignalGprsIndicatorBgTypeNotDefined = -3,
398 EAknSignalGprsIndicatorBgTypeWipe = -4,
399 EAknSignalGprsIndicatorBgTypeSolid = -5
405 const TInt KAknSignalNumberOfGprsStates = 6;
410 struct SAknMemoryCardUIParams
418 class MAknUINotifierBase: public MEikSrvNotifierBase2
424 TInt NotifierCapabilites(){return EScreenDeviceChangeSupported;}
427 #endif // AKNNOTIFYSTD_H