diff -r 1221b68b8a5f -r 1481bf457703 commondrm/drmutility/inc/DrmUtilityGlobalNoteWrapper.h --- a/commondrm/drmutility/inc/DrmUtilityGlobalNoteWrapper.h Tue Aug 31 15:29:38 2010 +0300 +++ b/commondrm/drmutility/inc/DrmUtilityGlobalNoteWrapper.h Wed Sep 01 12:21:16 2010 +0100 @@ -23,6 +23,7 @@ // INCLUDES #include #include +#include namespace DRM { @@ -102,6 +103,16 @@ TInt aValuePos = -1 ); /** + * Asynchronous wrapper for showing global message query. + * @param aMessageResourceId resource id of string to be displayed + * @param aHeaderResourceId resource id of header to be displayed in the query + * @param aString string that replaces %U in resource string + */ + void ShowMessageQueryL(TInt aMessageResourceId, + TInt aHeaderResourceId, + const TDesC& aString); + + /** * Synchronous wrapper for showing global preview list query. * @param aTextResourceId resource id of preview structure to be * displayed @@ -147,6 +158,13 @@ // Resource id of buttons in confirmation query TInt iButtonsId; + + // AVKON Global message query, used in method ShowMessageQueryL, activated asynchronously so needs to be owned + CAknGlobalMsgQuery* iGlobalMsgQuery; + // Message buffer for the global message query, contains dialog text with replaced string + TBuf iFinalMessageBuffer; + // Message buffer for the global message query header text + TBuf iHeaderBuffer; }; }