AknNotifyStd.h

Go to the documentation of this file.
00001 /*
00002 * ============================================================================
00003 *  Name        : AknNotifyStd.h
00004 *  Part of     : UI Framework Core / AVKON Notifiers
00005 *  Description : Structures and constant declarations for the AVKON Notifiers.
00006 *  Version     : %version: 8.1.1 %
00007 *
00008 *  Copyright © 2002-2008 Nokia.  All rights reserved.
00009 *  This material, including documentation and any related computer
00010 *  programs, is protected by copyright controlled by Nokia.  All
00011 *  rights are reserved.  Copying, including reproducing, storing,
00012 *  adapting or translating, any or all of this material requires the
00013 *  prior written consent of Nokia.  This material also contains
00014 *  confidential information which may not be disclosed to others
00015 *  without the prior written consent of Nokia.
00016 * ============================================================================
00017 */
00018 #ifndef AKNNOTIFYSTD_H
00019 #define AKNNOTIFYSTD_H
00020 
00021 #include <e32std.h>
00022 #include <e32base.h>
00023 #include <eiknotapi.h>
00024 
00028 const TUid KAknPopupNotifierUid={0x100059DC};
00029 
00034 const TUid KAknSignalNotifierUid={0x100059AB};
00035 
00040 const TUid KAknBatteryNotifierUid={0x100059AC};
00041 
00046 const TUid KAknSmallIndicatorUid={0x100059AD};
00047 
00051 const TUid KAknAsyncDemoNotifierUid={0x100059AE};
00052 
00056 const TUid KAknTestNoteUid={0x100059AF};
00057 
00062 const TUid KAknKeyLockNotifierUid={0x100059B0};
00063 
00068 const TUid KAknGlobalNoteUid={0x100059B1};
00069 
00074 const TUid KAknSoftNotificationUid={0x100059B2};
00075 
00080 const TUid KAknIncallBubbleUid={0x100059B3};
00081 
00086 const TUid KAknGlobalListQueryUid={0x100059B4}; 
00087 
00092 const TUid KAknGlobalListMsgQueryUid={0x20011102};
00093 
00098 const TUid KAknGlobalMsgQueryUid={0x100059CB};
00099 
00104 const TUid KAknGlobalConfirmationQueryUid={0x100059DB};
00105 
00110 const TUid KAknGlobalProgressDialogUid={0x10005A04};
00111 
00115 const TUid KAknMemoryCardDialogUid={0x101F467A};
00116 
00120 const TUid KAknNotifierControllerUid={0x1020721C};  
00121 
00122 
00127 const TUid EAknNotifierChannelNote = {1};
00132 const TUid EAknNotifierChannelList = {2};
00137 const TUid EAknNotifierChannelMsgQuery = {3};
00142 const TUid EAknNotifierChannelConfirmationQuery = {4};
00147 const TUid EAknNotifierChannelProgressDialog = {5};
00152 const TUid EAknNotifierChannelListMsgQuery = {6};
00153 
00158 struct SAknSignalNotifyParams
00159     {
00160     TInt iGprsState;
00161     TInt iValue;
00162     };
00163 
00168 struct SAknBatteryNotifyParams
00169     {
00170     enum { ERecharge, EStopRecharge, ENoRecharge, ESetValue, ESetState } iType;
00171     TInt iValue;
00172     TInt iBatteryState;
00173     };
00174 
00179 struct SAknSmallIndicatorParams
00180     {
00181     TUid iSmallIndicatorUid;
00182     TInt iValue;
00183     };
00184 
00189 struct SAknIncallBubbleParams
00190     {
00191     TInt iIncallBubbleFlags;
00192     };
00193 
00198 enum TKeyLockNotifierReason
00199     {
00200     ELockEnabled,
00201     ELockDisabled,
00202     EAllowNotifications,
00203     EStopNotifications,
00204     EInquire,
00205     EOfferKeylock,
00206     ECancelAllNotifications,
00207     EEnableAutoLockEmulation,
00208     EDisableWithoutNote,
00209     EEnableWithoutNote,
00210     // add normal keylock operations before this
00211     ECommandFSWToHideApplication=99
00212     };
00213 
00218 struct SAknSoftNoteNotifierParams
00219     {
00220     TInt iNoteResource;
00221     TInt iNoteCbaResource;
00222     TInt iResponse;
00223     };
00224 
00229 struct SAknKeyLockNotifierParams
00230     {
00231     TKeyLockNotifierReason iReason;
00232     TBool iEnabled;
00233     };
00234 
00238 enum TAknGlobalNoteType
00239     {
00240     EAknGlobalInformationNote = 1,
00241     EAknGlobalWarningNote,
00242     EAknGlobalConfirmationNote,
00243     EAknGlobalErrorNote,
00244     EAknGlobalChargingNote,
00245     EAknGlobalWaitNote,
00246     EAknGlobalPermanentNote,
00247     EAknGlobalNotChargingNote,
00248     EAknGlobalBatteryFullNote,
00249     EAknGlobalBatteryLowNote,
00250     EAknGlobalRechargeBatteryNote,
00251     EAknCancelGlobalNote,
00252     EAknGlobalTextNote,
00253     EAknGlobalBatteryFullUnplugNote = 105,
00254     EAknGlobalUnplugChargerNote
00255     };
00256 
00261 struct SAknGlobalNoteParams
00262     {
00263     TAknGlobalNoteType iType;
00264     TPtrC iText;
00265     TInt iPriority;
00266     TInt iSoftkeys;
00267     TInt iGraphic;
00268     TInt iGraphicMask;
00269     TInt iAnimation;
00270     };
00271 
00276 struct SAknGlobalNoteReturnParams
00277     {
00278     TInt iNoteId;
00279     };
00280 
00285 enum TAknGlobalQueryCmd
00286     {
00287     EAknShowGlobalQuery=1,
00288     EAknCancelGlobalQuery,
00289     EAknUpdateGlobalQuery,
00290     // list query cmds,
00291     EAknMoveDownGlobalListQuery,
00292     EAknMoveUpGlobalListQuery,
00293     EAknSelectGlobalListQuery,
00294     // Progess dialog cmds
00295     EAknFinishGlobalProgressDialog
00296     };
00297 
00302 struct SAknGlobalListQueryParams
00303     {
00304     TAknGlobalQueryCmd iCmd;
00305     TInt iIndex;
00306     };
00307 
00312 struct SAknGlobalMsgQueryParams
00313     {
00314     TAknGlobalQueryCmd iCmd;
00315     TInt iSoftkeys;
00316     };
00317 
00322 struct SAknGlobalProgressDialogParams
00323     {
00324     TAknGlobalQueryCmd iCmd;
00325     TInt iValue;
00326     TInt iFinalValue;
00327     };
00328 
00333 enum TAknSoftNotificationType
00334     {
00335     ENoSoftNotification = -1,
00336     ENetworkInformationNotification=0,
00337     ESelectNetworkNotification,
00338     EUnstructuredSSDataNotification,
00339     EVoiceMailNotification,
00340     ESeparateVoiceMailOnLine1Notification,
00341     ESeparateVoiceMailOnLine2Notification,
00342     ECellBroadcastNotification,
00343 
00344     EDeliveryReportNotification,
00345     EClass0SmsNotification,
00346 
00347     EMissedCallsNotification,
00348     ENewMessagesNotification,
00349     ENewMailNotification,
00350 
00351     EShowActiveNotifications,
00352 
00353     EShowGroupedNotification,
00354     ECustomSoftNotification,
00355     EChatMessageNotification,
00356     EMaxSoftNotification,
00357     ESetIdleState = 100
00358     };
00359 
00364 struct SAknSoftNotificationParams
00365     {
00368     TAknSoftNotificationType iType; 
00369     
00377     TBool iIsCancel;
00378 
00383     TInt iCount;
00384     };
00385 
00386 
00390 enum TAknSignalStates
00391     {
00392     EAknSignalGprsStateOff = 0,
00393     EAknSignalGprsStateOn = 1,
00394     EAknSignalGprsStateNotChanged = -1,
00395     EAknSignalStateNotChanged = -2,
00396     // Constants below are used for syncronizing signalpane and navipane background types.
00397     EAknSignalGprsIndicatorBgTypeNotDefined = -3,
00398     EAknSignalGprsIndicatorBgTypeWipe       = -4,
00399     EAknSignalGprsIndicatorBgTypeSolid      = -5                
00400     };
00401 
00405 const TInt KAknSignalNumberOfGprsStates = 6;
00406 
00410 struct SAknMemoryCardUIParams
00411     {
00412     TBool iStore;
00413     };
00414 
00418 class MAknUINotifierBase: public MEikSrvNotifierBase2
00419     {
00420 public:
00424     TInt NotifierCapabilites(){return EScreenDeviceChangeSupported;}
00425     };
00426 
00427 #endif // AKNNOTIFYSTD_H

Copyright © Nokia Corporation 2001-2007
Back to top