00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef __AKNGLOBALLISTMSGQUERY_H__
00020 #define __AKNGLOBALLISTMSGQUERY_H__
00021
00022 #include <aknnotifystd.h>
00023 #include <aknquerydialog.h>
00024
00025 class CAknSDData;
00026
00094 NONSHARABLE_CLASS(CAknGlobalListMsgQuery) : public CBase
00095 {
00096 public:
00102 IMPORT_C static CAknGlobalListMsgQuery* NewL();
00103
00109 IMPORT_C static CAknGlobalListMsgQuery* NewLC();
00110
00114 IMPORT_C ~CAknGlobalListMsgQuery();
00115
00140 IMPORT_C void ShowListMsgQueryL(
00141 const MDesCArray* aItems,
00142 TRequestStatus& aStatus,
00143 const TDesC& aHeaderText,
00144 const TDesC& aMsgText,
00145 const TInt aIndex = 0,
00146 TInt aSoftkeys = 0,
00147 TInt aAcceptKeyId = 0,
00148 TInt aCancelKeyId = 0,
00149 const TDesC& aHeaderImageFile = KNullDesC,
00150 TInt aImageId = 0,
00151 TInt aImageMaskId = -1,
00152 CAknQueryDialog::TTone aTone = CAknQueryDialog::ENoTone);
00153
00157 IMPORT_C void MoveSelectionUp();
00158
00162 IMPORT_C void MoveSelectionDown();
00163
00167 IMPORT_C void SelectItem();
00168
00172 IMPORT_C void CancelListMsgQuery();
00173
00180 IMPORT_C void SetSecondaryDisplayData(CAknSDData* aData);
00181
00187 IMPORT_C void SetImageSkinId(const TAknsItemID& aId);
00188
00189 private:
00193 CAknGlobalListMsgQuery();
00194
00198 void ConstructL();
00199
00203 void SetHeadingL(const TDesC& aHeading);
00204
00208 void UpdateListMsgQuery();
00209
00210 private:
00211
00212 TAknGlobalQueryCmd iCmd;
00213
00214 RNotifier iNotify;
00215
00216 TInt iIndex;
00217
00218 CBufFlat *iBuffer;
00219
00220 TPtrC8 iBufferPtr;
00221 HBufC* iHeading;
00222 CAknSDData* iAknSDData;
00223 TBuf8<1> iResultBuf;
00224 TInt iSkinsMajorId;
00225 TInt iSkinsMinorId;
00226 };
00227
00228 #endif // __AKNGLOBALLISTMSGQUERY_H__