commondrm/drmutility/inc/drmutilityui.h
branchRCL_3
changeset 72 1481bf457703
parent 71 1221b68b8a5f
--- a/commondrm/drmutility/inc/drmutilityui.h	Tue Aug 31 15:29:38 2010 +0300
+++ b/commondrm/drmutility/inc/drmutilityui.h	Wed Sep 01 12:21:16 2010 +0100
@@ -24,6 +24,8 @@
 #include <f32file.h>
 #include <AknNotifyStd.h>
 
+#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<CDrmUtilityInfoNoteWrapper> iNoteList;
 
     CMediatorEventProvider* iEventProvider;
+    
+    CDrmUtilityGlobalNoteWrapper* iNoteWrapper;
 
     };
 }