equal
deleted
inserted
replaced
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" |
26 |
28 |
27 //*** forward declarations go here: |
29 //*** forward declarations go here: |
28 class CDRMConstraint; |
30 class CDRMConstraint; |
29 class CCoeEnv; |
31 class CCoeEnv; |
30 class CStringResourceReader; |
32 class CStringResourceReader; |
121 */ |
123 */ |
122 IMPORT_C TInt DisplayPopupWindowsForPreviewL( |
124 IMPORT_C TInt DisplayPopupWindowsForPreviewL( |
123 ContentAccess::CData& aContent, |
125 ContentAccess::CData& aContent, |
124 TInt aPreviewType, |
126 TInt aPreviewType, |
125 TInt aMediaType ); |
127 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 */ |
126 |
137 |
127 |
138 IMPORT_C TInt DisplayMessageQueryL( TInt aMessage, TInt aHeader, const TDesC& aString ); |
|
139 |
128 protected: |
140 protected: |
129 |
141 |
130 private: |
142 private: |
131 |
143 |
132 CDrmUtilityUI( CCoeEnv* aCoeEnv ); |
144 CDrmUtilityUI( CCoeEnv* aCoeEnv ); |
172 |
184 |
173 // Used to queue up global notes |
185 // Used to queue up global notes |
174 RPointerArray<CDrmUtilityInfoNoteWrapper> iNoteList; |
186 RPointerArray<CDrmUtilityInfoNoteWrapper> iNoteList; |
175 |
187 |
176 CMediatorEventProvider* iEventProvider; |
188 CMediatorEventProvider* iEventProvider; |
|
189 |
|
190 CDrmUtilityGlobalNoteWrapper* iNoteWrapper; |
177 |
191 |
178 }; |
192 }; |
179 } |
193 } |
180 |
194 |
181 #endif // CDRMUTILITYUI_H |
195 #endif // CDRMUTILITYUI_H |