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 %
00007 *
00008 *  Copyright © 2002-2007 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 KAknGlobalMsgQueryUid={0x100059CB};
00093 
00098 const TUid KAknGlobalConfirmationQueryUid={0x100059DB};
00099 
00104 const TUid KAknGlobalProgressDialogUid={0x10005A04};
00105 
00109 const TUid KAknMemoryCardDialogUid={0x101F467A};
00110 
00114 const TUid KAknNotifierControllerUid={0x1020721C};  
00115 
00116 
00121 const TUid EAknNotifierChannelNote = {1};
00126 const TUid EAknNotifierChannelList = {2};
00131 const TUid EAknNotifierChannelMsgQuery = {3};
00136 const TUid EAknNotifierChannelConfirmationQuery = {4};
00141 const TUid EAknNotifierChannelProgressDialog = {5};
00142 
00147 struct SAknSignalNotifyParams
00148     {
00149     TInt iGprsState;
00150     TInt iValue;
00151     };
00152 
00157 struct SAknBatteryNotifyParams
00158     {
00159     enum { ERecharge, EStopRecharge, ENoRecharge, ESetValue, ESetState } iType;
00160     TInt iValue;
00161     TInt iBatteryState;
00162     };
00163 
00168 struct SAknSmallIndicatorParams
00169     {
00170     TUid iSmallIndicatorUid;
00171     TInt iValue;
00172     };
00173 
00178 struct SAknIncallBubbleParams
00179     {
00180     TInt iIncallBubbleFlags;
00181     };
00182 
00187 enum TKeyLockNotifierReason
00188     {
00189     ELockEnabled,
00190     ELockDisabled,
00191     EAllowNotifications,
00192     EStopNotifications,
00193     EInquire,
00194     EOfferKeylock,
00195     ECancelAllNotifications,
00196     EEnableAutoLockEmulation,
00197     EDisableWithoutNote,
00198     EEnableWithoutNote,
00199     // add normal keylock operations before this
00200     ECommandFSWToHideApplication=99
00201     };
00202 
00207 struct SAknSoftNoteNotifierParams
00208     {
00209     TInt iNoteResource;
00210     TInt iNoteCbaResource;
00211     TInt iResponse;
00212     };
00213 
00218 struct SAknKeyLockNotifierParams
00219     {
00220     TKeyLockNotifierReason iReason;
00221     TBool iEnabled;
00222     };
00223 
00227 enum TAknGlobalNoteType
00228     {
00229     EAknGlobalInformationNote = 1,
00230     EAknGlobalWarningNote,
00231     EAknGlobalConfirmationNote,
00232     EAknGlobalErrorNote,
00233     EAknGlobalChargingNote,
00234     EAknGlobalWaitNote,
00235     EAknGlobalPermanentNote,
00236     EAknGlobalNotChargingNote,
00237     EAknGlobalBatteryFullNote,
00238     EAknGlobalBatteryLowNote,
00239     EAknGlobalRechargeBatteryNote,
00240     EAknCancelGlobalNote,
00241     EAknGlobalTextNote,
00242     EAknGlobalBatteryFullUnplugNote = 105,
00243     EAknGlobalUnplugChargerNote
00244     };
00245 
00250 struct SAknGlobalNoteParams
00251     {
00252     TAknGlobalNoteType iType;
00253     TPtrC iText;
00254     TInt iPriority;
00255     TInt iSoftkeys;
00256     TInt iGraphic;
00257     TInt iGraphicMask;
00258     TInt iAnimation;
00259     };
00260 
00265 struct SAknGlobalNoteReturnParams
00266     {
00267     TInt iNoteId;
00268     };
00269 
00274 enum TAknGlobalQueryCmd
00275     {
00276     EAknShowGlobalQuery=1,
00277     EAknCancelGlobalQuery,
00278     EAknUpdateGlobalQuery,
00279     // list query cmds,
00280     EAknMoveDownGlobalListQuery,
00281     EAknMoveUpGlobalListQuery,
00282     EAknSelectGlobalListQuery,
00283     // Progess dialog cmds
00284     EAknFinishGlobalProgressDialog
00285     };
00286 
00291 struct SAknGlobalListQueryParams
00292     {
00293     TAknGlobalQueryCmd iCmd;
00294     TInt iIndex;
00295     };
00296 
00301 struct SAknGlobalMsgQueryParams
00302     {
00303     TAknGlobalQueryCmd iCmd;
00304     TInt iSoftkeys;
00305     };
00306 
00311 struct SAknGlobalProgressDialogParams
00312     {
00313     TAknGlobalQueryCmd iCmd;
00314     TInt iValue;
00315     TInt iFinalValue;
00316     };
00317 
00322 enum TAknSoftNotificationType
00323     {
00324     ENoSoftNotification = -1,
00325     ENetworkInformationNotification=0,
00326     ESelectNetworkNotification,
00327     EUnstructuredSSDataNotification,
00328     EVoiceMailNotification,
00329     ESeparateVoiceMailOnLine1Notification,
00330     ESeparateVoiceMailOnLine2Notification,
00331     ECellBroadcastNotification,
00332 
00333     EDeliveryReportNotification,
00334     EClass0SmsNotification,
00335 
00336     EMissedCallsNotification,
00337     ENewMessagesNotification,
00338     ENewMailNotification,
00339 
00340     EShowActiveNotifications,
00341 
00342     EShowGroupedNotification,
00343     ECustomSoftNotification,
00344     EChatMessageNotification,
00345     EMaxSoftNotification,
00346     ESetIdleState = 100
00347     };
00348 
00353 struct SAknSoftNotificationParams
00354     {
00357     TAknSoftNotificationType iType; 
00358     
00366     TBool iIsCancel;
00367 
00372     TInt iCount;
00373     };
00374 
00375 
00379 enum TAknSignalStates
00380     {
00381     EAknSignalGprsStateOff = 0,
00382     EAknSignalGprsStateOn = 1,
00383     EAknSignalGprsStateNotChanged = -1,
00384     EAknSignalStateNotChanged = -2,
00385     // Constants below are used for syncronizing signalpane and navipane background types.
00386     EAknSignalGprsIndicatorBgTypeNotDefined = -3,
00387     EAknSignalGprsIndicatorBgTypeWipe       = -4,
00388     EAknSignalGprsIndicatorBgTypeSolid      = -5                
00389     };
00390 
00394 const TInt KAknSignalNumberOfGprsStates = 6;
00395 
00399 struct SAknMemoryCardUIParams
00400     {
00401     TBool iStore;
00402     };
00403 
00407 class MAknUINotifierBase: public MEikSrvNotifierBase2
00408     {
00409 public:
00413     TInt NotifierCapabilites(){return EScreenDeviceChangeSupported;}
00414     };
00415 
00416 // AKNNOTIFYSTD_H
00417 #endif

Copyright © Nokia Corporation 2001-2008
Back to top