S60 3rd Edition API Reference: aknglobalmsgquery.h Source File

aknglobalmsgquery.h

Go to the documentation of this file.
00001 /*
00002 * ============================================================================
00003 *  Name     : AknGlobalMsgQuery.h
00004 *  Part of  : Avkon
00005 *
00006 *  Description:
00007 *   Uses notification framework to show a global listquery.
00008 *  Version:
00009 *
00010 *  Copyright © 2002 Nokia Corporation.
00011 *  This material, including documentation and any related 
00012 *  computer programs, is protected by copyright controlled by 
00013 *  Nokia Corporation. All rights are reserved. Copying, 
00014 *  including reproducing, storing,  adapting or translating, any 
00015 *  or all of this material requires the prior written consent of 
00016 *  Nokia Corporation. This material also contains confidential 
00017 *  information which may not be disclosed to others without the 
00018 *  prior written consent of Nokia Corporation.
00019 * ============================================================================
00020 */
00021 #ifndef __AKNGLOBALMSGQUERY_H__
00022 #define __AKNGLOBALMSGQUERY_H__
00023 
00024 #include <AknNotify.h>
00025 #include <aknnotifystd.h>
00026 #include <aknquerydialog.h>
00027 #include <AknsItemID.h>
00028 
00029 #start_since SINCE_3_1_SDK
00030 class CAknSDData;
00031 #end_since SINCE_3_1_SDK
00032 
00033 
00077 NONSHARABLE_CLASS(CAknGlobalMsgQuery) : public CBase
00078     {
00079     public:
00080             
00081             IMPORT_C static CAknGlobalMsgQuery* NewL();
00082             IMPORT_C static CAknGlobalMsgQuery* NewLC();
00083             IMPORT_C ~CAknGlobalMsgQuery();
00084 
00094         IMPORT_C void ShowMsgQueryL( TRequestStatus& aStatus,
00095                                     const TDesC& aMsgText,
00096                                     TInt aSoftkeys,
00097                                     const TDesC& aHeaderText,
00098                                     const TDesC& aHeaderImageFile,
00099                                     TInt aImageId = 0,
00100                                     TInt aImageMaskId = -1,
00101                                     CAknQueryDialog::TTone aTone = CAknQueryDialog::ENoTone);
00102 
00108         IMPORT_C void UpdateMsgQuery( TInt aSoftkeys );
00109 
00110 
00114         IMPORT_C void CancelMsgQuery();
00115 
00124         IMPORT_C void SetExitDelay(TInt aDelay);
00125 
00134         IMPORT_C void SetImageSkinId( TAknsItemID& aId );
00135 
00136 #start_since SINCE_3_1_SDK
00137 
00147         IMPORT_C void SetSecondaryDisplayData(CAknSDData* aData);
00148 #end_since SINCE_3_1_SDK    
00149     private:
00150             CAknGlobalMsgQuery();
00151             void ConstructL(); 
00152 
00153     private:
00154         TAknGlobalQueryCmd iCmd;
00155         TInt iSoftkeys;
00156         TInt iImageId;
00157         TInt iImageMaskId;
00158         CAknQueryDialog::TTone iTone;
00159         RNotifier iNotify;
00160         CBufFlat *iBuffer;
00161         TPtrC8 iBufferPtr;
00162         TInt iDelay;
00163         TInt   iSkinsMajorId;
00164                 TInt   iSkinsMinorId;
00165             CAknSDData* iAknSDData;
00166                 TBuf8<1> iResultBuf; // not really used, but needed to prevent buffer handling errors
00167     };
00168 
00169 
00170 #endif

Copyright © Nokia Corporation 2001-2007
Back to top