aknglobalmsgquery.h

Go to the documentation of this file.
00001 /*
00002 * ============================================================================
00003 *  Name        : AknGlobalMsgQuery.h
00004 *  Part of     : UI Framework Core / AVKON Notifiers Client
00005 *  Description : Uses notification framework to show a global message query.
00006 *  Version     : %version: %
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 __AKNGLOBALMSGQUERY_H__
00019 #define __AKNGLOBALMSGQUERY_H__
00020 
00021 #include <AknNotify.h>
00022 #include <aknnotifystd.h>
00023 #include <aknquerydialog.h>
00024 #include <AknsItemID.h>
00025 
00026 class CAknSDData;
00027 
00070 NONSHARABLE_CLASS(CAknGlobalMsgQuery) : public CBase
00071     {
00072     public:
00073         IMPORT_C static CAknGlobalMsgQuery* NewL();
00074         IMPORT_C static CAknGlobalMsgQuery* NewLC();
00075         IMPORT_C ~CAknGlobalMsgQuery();
00076 
00086         IMPORT_C void ShowMsgQueryL( 
00087             TRequestStatus& aStatus,
00088             const TDesC& aMsgText,
00089             TInt aSoftkeys,
00090             const TDesC& aHeaderText,
00091             const TDesC& aHeaderImageFile,
00092             TInt aImageId = 0,
00093             TInt aImageMaskId = -1,
00094             CAknQueryDialog::TTone aTone = CAknQueryDialog::ENoTone);
00095 
00101         IMPORT_C void UpdateMsgQuery( TInt aSoftkeys );
00102 
00106         IMPORT_C void CancelMsgQuery();
00107 
00116         IMPORT_C void SetExitDelay(TInt aDelay);
00117 
00126         IMPORT_C void SetImageSkinId( TAknsItemID& aId );
00127 
00136         IMPORT_C void SetSecondaryDisplayData(CAknSDData* aData);
00137     
00138     private:
00139         CAknGlobalMsgQuery();
00140         void ConstructL(); 
00141 
00142     private:
00143         TAknGlobalQueryCmd iCmd;
00144         TInt iSoftkeys;
00145         TInt iImageId;
00146         TInt iImageMaskId;
00147         CAknQueryDialog::TTone iTone;
00148         RNotifier iNotify;
00149         CBufFlat *iBuffer;
00150         TPtrC8 iBufferPtr;
00151         TInt iDelay;
00152         TInt   iSkinsMajorId;
00153         TInt   iSkinsMinorId;
00154         CAknSDData* iAknSDData;
00155         TBuf8<1> iResultBuf; // Not really used, but needed to prevent buffer handling errors.
00156     };
00157 
00158 // __AKNGLOBALMSGQUERY_H__
00159 #endif

Copyright © Nokia Corporation 2001-2008
Back to top