diff -r 04da681812a9 -r 457cd4423b8c commondrm/drmutility/inc/drmutilityui.h --- a/commondrm/drmutility/inc/drmutilityui.h Tue Apr 27 16:56:11 2010 +0300 +++ b/commondrm/drmutility/inc/drmutilityui.h Tue May 11 16:28:38 2010 +0300 @@ -24,6 +24,8 @@ #include #include +#include "DrmUtilityGlobalNoteWrapper.h" + //*** forward declarations go here: class CDRMConstraint; class CCoeEnv; @@ -123,8 +125,18 @@ ContentAccess::CData& aContent, TInt aPreviewType, TInt aMediaType ); + + /* + * Utility method for showing an AVKON Message Query dialog, with buttons R_AVKON_SOFTKEYS_OK_EMPTY__OK. + * + * @param aMessage Resource ID for the dialog message. + * @param aHeader Resource ID for the dialog header. + * @param aString Replacement string for dialog message content. Replaces aMessage resources strings %U mark. + * @return Returns button code TInt from the dialog. + */ - + IMPORT_C TInt DisplayMessageQueryL( TInt aMessage, TInt aHeader, const TDesC& aString ); + protected: private: @@ -174,6 +186,8 @@ RPointerArray iNoteList; CMediatorEventProvider* iEventProvider; + + CDrmUtilityGlobalNoteWrapper* iNoteWrapper; }; }