commondrm/drmutility/inc/drmutilityui.h
branchRCL_3
changeset 26 1221b68b8a5f
parent 16 457cd4423b8c
child 27 1481bf457703
equal deleted inserted replaced
25:50c53e893c3f 26:1221b68b8a5f
    21 
    21 
    22 //*** system include files go here:
    22 //*** system include files go here:
    23 #include <e32base.h>
    23 #include <e32base.h>
    24 #include <f32file.h>
    24 #include <f32file.h>
    25 #include <AknNotifyStd.h>
    25 #include <AknNotifyStd.h>
    26 
       
    27 #include "DrmUtilityGlobalNoteWrapper.h"
       
    28 
    26 
    29 //*** forward declarations go here:
    27 //*** forward declarations go here:
    30 class CDRMConstraint;
    28 class CDRMConstraint;
    31 class CCoeEnv;
    29 class CCoeEnv;
    32 class CStringResourceReader;
    30 class CStringResourceReader;
   123     */
   121     */
   124     IMPORT_C TInt DisplayPopupWindowsForPreviewL(
   122     IMPORT_C TInt DisplayPopupWindowsForPreviewL(
   125                                                 ContentAccess::CData& aContent,
   123                                                 ContentAccess::CData& aContent,
   126                                                 TInt aPreviewType,
   124                                                 TInt aPreviewType,
   127                                                 TInt aMediaType );
   125                                                 TInt aMediaType );
   128                                                 
       
   129     /*
       
   130     * Utility method for showing an AVKON Message Query dialog, with buttons R_AVKON_SOFTKEYS_OK_EMPTY__OK.
       
   131     * 
       
   132     * @param aMessage Resource ID for the dialog message.
       
   133     * @param aHeader  Resource ID for the dialog header.
       
   134     * @param aString  Replacement string for dialog message content. Replaces aMessage resources strings %U mark.
       
   135     * @return Returns button code TInt from the dialog.
       
   136     */                                            
       
   137 
   126 
   138     IMPORT_C TInt DisplayMessageQueryL( TInt aMessage, TInt aHeader, const TDesC& aString );
   127 
   139     
       
   140 protected:
   128 protected:
   141 
   129 
   142 private:
   130 private:
   143 
   131 
   144     CDrmUtilityUI( CCoeEnv* aCoeEnv );
   132     CDrmUtilityUI( CCoeEnv* aCoeEnv );
   184 
   172 
   185     // Used to queue up global notes
   173     // Used to queue up global notes
   186     RPointerArray<CDrmUtilityInfoNoteWrapper> iNoteList;
   174     RPointerArray<CDrmUtilityInfoNoteWrapper> iNoteList;
   187 
   175 
   188     CMediatorEventProvider* iEventProvider;
   176     CMediatorEventProvider* iEventProvider;
   189     
       
   190     CDrmUtilityGlobalNoteWrapper* iNoteWrapper;
       
   191 
   177 
   192     };
   178     };
   193 }
   179 }
   194 
   180 
   195 #endif // CDRMUTILITYUI_H
   181 #endif // CDRMUTILITYUI_H