aknglobalconfirmationquery.h

Go to the documentation of this file.
00001 /*
00002 * ============================================================================
00003 *  Name        : AknGlobalConfirmationQuery.h
00004 *  Part of     : UI Framework Core / AVKON Notifiers Client
00005 *  Description : Uses notification framework to show a global confirmation 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 __AKNGLOBALCONFIRMATIONQUERY_H__
00019 #define __AKNGLOBALCONFIRMATIONQUERY_H__
00020 
00021 #include <AknNotify.h>
00022 #include <aknnotifystd.h>
00023 #include <aknquerydialog.h>
00024 #include <AknsItemID.h>
00025 
00026 class CAknSDData;
00027 
00072 NONSHARABLE_CLASS(CAknGlobalConfirmationQuery) : public CBase
00073     {
00074     public:
00075         IMPORT_C static CAknGlobalConfirmationQuery* NewL();
00076         IMPORT_C static CAknGlobalConfirmationQuery* NewLC();
00077         IMPORT_C ~CAknGlobalConfirmationQuery();
00078 
00091         IMPORT_C void ShowConfirmationQueryL( 
00092             TRequestStatus& aStatus,
00093             const TDesC& aPrompt,
00094             TInt aSoftkeys = 0,
00095             TInt aAnimation = 0,
00096             const TDesC& aImageFile = KNullDesC,
00097             TInt aImageId = 0,
00098             TInt aImageMaskId = 0,
00099             CAknQueryDialog::TTone aTone = CAknQueryDialog::ENoTone,
00100             TBool aDismissWithAllKeys = EFalse );
00106         IMPORT_C void UpdateConfirmationQuery( TInt aSoftkeys );
00107 
00111         IMPORT_C void CancelConfirmationQuery();
00112 
00121         IMPORT_C void SetImageSkinId( TAknsItemID& aId );
00122         
00131         IMPORT_C void SetSecondaryDisplayData(CAknSDData* aData);
00132         
00133     private:
00134         CAknGlobalConfirmationQuery();
00135         void ConstructL(); 
00136 
00137     private:
00138         TAknGlobalQueryCmd iCmd;
00139         TInt iSoftkeys;
00140         TInt iAnimation;
00141         CAknQueryDialog::TTone iTone;
00142         RNotifier iNotify;
00143         CBufFlat *iBuffer;
00144         TPtrC8 iBufferPtr;
00145         TInt   iSkinsMajorId;
00146         TInt   iSkinsMinorId;
00147         CAknSDData* iAknSDData;
00148         TBuf8<1> iResultBuf; // Not really used, but needed to prevent buffer handling errors.
00149     };
00150 
00151 // __AKNGLOBALCONFIRMATIONQUERY_H__
00152 #endif

Copyright © Nokia Corporation 2001-2008
Back to top