|
1 /* |
|
2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef __CREATORENGINE_H__ |
|
20 #define __CREATORENGINE_H__ |
|
21 |
|
22 // INCLUDES |
|
23 #include <e32std.h> |
|
24 #include <e32base.h> |
|
25 #include <e32hal.h> |
|
26 #include <s32file.h> |
|
27 #include <s32mem.h> |
|
28 #include <w32std.h> |
|
29 |
|
30 //#include <aknenv.h> |
|
31 #include <coeutils.h> |
|
32 #include <apparc.h> |
|
33 #include <eikenv.h> |
|
34 //#include <eikprogi.h> |
|
35 #include <bautils.h> |
|
36 #include <commdb.h> |
|
37 #include <imageconversion.h> //TFrameInfo |
|
38 |
|
39 #include "creator.hrh" |
|
40 #include "creator_std.h" |
|
41 #include "creator_randomdataparser.h" |
|
42 |
|
43 //class CCreatorAppUi; |
|
44 class TCommand; |
|
45 class CCreatorBrowser; |
|
46 class CCreatorCalendarBase; |
|
47 class CCreatorNotepad; |
|
48 class CCreatorLogs; |
|
49 //class CCreatorAccessPoints; |
|
50 class CCreatorMailboxes; |
|
51 class CCreatorIMPS; |
|
52 class CCreatorFiles; |
|
53 class CCreatorMessages; |
|
54 class CCreatorLandmarks; |
|
55 class MCreatorModuleBase; |
|
56 class CCreatorPhonebookBase; |
|
57 class CCreatorModuleBaseParameters; |
|
58 //class CCreatorConnectionSettingsBase; |
|
59 class CDictionaryFileStore; |
|
60 class CImageDecoder; |
|
61 class CFbsBitmap; |
|
62 class CBitmapScaler; |
|
63 class CCommandParser; |
|
64 class EngineWrapper; |
|
65 class CCreatorCmdScriptRun; |
|
66 |
|
67 static const TUid KUidCreatorApp = {0x20011383}; |
|
68 |
|
69 enum TListQueryId |
|
70 { |
|
71 R_GROUP_CREATION_TYPE_QUERY, |
|
72 R_CONTACT_CREATION_TYPE_QUERY, |
|
73 R_MESSAGE_TYPE_QUERY, |
|
74 R_FOLDER_TYPE_QUERY, |
|
75 R_UNREAD_QUERY, |
|
76 R_ATTACHMENT_MULTI_SELECTION_QUERY, |
|
77 R_AMS_ATTACHMENT_SINGLE_SELECTION_QUERY, |
|
78 R_ATTACHMENT_SINGLE_SELECTION_QUERY |
|
79 }; |
|
80 |
|
81 /* |
|
82 * Interface for UI dialogs |
|
83 */ |
|
84 class MUIObserver |
|
85 { |
|
86 public: |
|
87 /** |
|
88 * Called when some dialog in UI is closed |
|
89 * |
|
90 * @since S60 10.1 |
|
91 * @param aPositiveAction ETrue if "Ok", "Yes" or other "positive" button was pressed |
|
92 * @param aUserData number that was passed to UI before dialog was opened |
|
93 * @return None. |
|
94 */ |
|
95 virtual void QueryDialogClosedL(TBool aPositiveAction, TInt aUserData) = 0; |
|
96 |
|
97 }; |
|
98 |
|
99 /* |
|
100 * Interface for CCommandParser |
|
101 */ |
|
102 class MCommandParserObserver |
|
103 { |
|
104 public: |
|
105 /** |
|
106 * Called when CCommandParser user has choosen script file |
|
107 * |
|
108 * @since S60 10.1 |
|
109 * @param aSuccess ETrue if "Ok", "Yes" or other "positive" button was pressed |
|
110 * @param aFileName filename chosen by user |
|
111 * @return None. |
|
112 */ |
|
113 virtual void ScriptChosenL(TBool aSuccess, const TDesC& aFileName = KNullDesC) = 0; |
|
114 |
|
115 /** |
|
116 * Called when CCommandParser user has choosen random data file |
|
117 * |
|
118 * @since S60 10.1 |
|
119 * @param aSuccess ETrue if "Ok", "Yes" or other "positive" button was pressed |
|
120 * @param aFileName filename chosen by user |
|
121 * @return None. |
|
122 */ |
|
123 virtual void RandomDataFileChosenL(TBool aSuccess, const TDesC& aFileName = KNullDesC) = 0; |
|
124 }; |
|
125 |
|
126 /** |
|
127 * Device memory information |
|
128 */ |
|
129 class TMemoryDetails |
|
130 { |
|
131 public: |
|
132 |
|
133 TBuf<16> iFree; |
|
134 TBuf<16> iSize; |
|
135 TChar iDriveLetter; |
|
136 |
|
137 TBuf<16> iRamFree; |
|
138 TBuf<16> iRomFree; |
|
139 |
|
140 TBool iENotAvailable; |
|
141 |
|
142 TBuf<16> iRamSize; |
|
143 TBuf<16> iRomSize; |
|
144 }; |
|
145 // Common constant for undefined integer value: |
|
146 const TInt KUndef = KErrNotFound; |
|
147 |
|
148 class CCreatorEngine : public CActive, public MUIObserver, public MCommandParserObserver |
|
149 { |
|
150 enum ECreatorEngineState{ |
|
151 ECreatorEngineDeleteAllEntries, |
|
152 ECreatorEngineDeleteAllCreatorEntries, |
|
153 }; |
|
154 public: |
|
155 |
|
156 enum TRandomStringType |
|
157 { |
|
158 EFirstName = 0, |
|
159 ESurname, |
|
160 ECompany, |
|
161 EAddress, |
|
162 EJobTitle, |
|
163 EPhoneNumber, |
|
164 EGroupName, |
|
165 EMeetingReason, |
|
166 EMeetingPlace, |
|
167 EMemoText, |
|
168 EAnniversaryReason, |
|
169 EToDoText, |
|
170 EReminderText, |
|
171 EMessageSubject, |
|
172 EMessageText, |
|
173 ECity, |
|
174 ECountry, |
|
175 EPostcode, |
|
176 EState, |
|
177 EPobox, |
|
178 EPrefix, |
|
179 ESuffix, |
|
180 ELandmarkName, |
|
181 ELandmarkDescription |
|
182 }; |
|
183 |
|
184 |
|
185 // note! changing order will cause regression in other modules |
|
186 |
|
187 enum TTestDataPath |
|
188 { |
|
189 EJPEG_25kB = 0, |
|
190 EJPEG_200kB, |
|
191 EJPEG_500kB, |
|
192 EPNG_15kB, |
|
193 EGIF_2kB, |
|
194 ERNG_1kB, |
|
195 EMIDI_10kB, |
|
196 EWAVE_20kB, |
|
197 EAMR_20kB, |
|
198 EExcel_15kB, |
|
199 EWord_20kB, |
|
200 EPowerPoint_40kB, |
|
201 EText_10kB, |
|
202 EText_70kB, |
|
203 E3GPP_70kB, |
|
204 EMP3_250kB, |
|
205 EAAC_100kB, |
|
206 ERM_95kB, |
|
207 EBMP_25kB, |
|
208 EHTML_20kB, |
|
209 EJAD_1kB, |
|
210 EJAR_10kB, |
|
211 EJP2_65kB, |
|
212 EMP4_200kB, |
|
213 EMXMF_40kB, |
|
214 ERAM_1kB, |
|
215 ESVG_15kB, |
|
216 ESWF_15kB, |
|
217 ETIF_25kB, |
|
218 EVCF_1kB, |
|
219 EVCS_1kB, |
|
220 ESISX_10kB, |
|
221 EWMA_50kB, |
|
222 EWMV_200kB, |
|
223 ESavedDeck_1kB, |
|
224 LAST_FILE_ID//When you add new items to enum, add them before last item, so random number generations does not need to be updated also |
|
225 }; |
|
226 |
|
227 enum TRandomDateType |
|
228 { |
|
229 EDatePast, |
|
230 EDateFuture |
|
231 }; |
|
232 |
|
233 public: |
|
234 /** |
|
235 * Constructor: NewL |
|
236 */ |
|
237 static CCreatorEngine* NewL(EngineWrapper *aEngineWrapper); |
|
238 /** |
|
239 * Constructor: NewLC |
|
240 */ |
|
241 static CCreatorEngine* NewLC(EngineWrapper *aEngineWrapper); |
|
242 ~CCreatorEngine(); |
|
243 |
|
244 inline RPointerArray<TMemoryDetails> GetMemoryDetailsList(){ return iMemoryDetailsList; }; |
|
245 inline TMemoryDetails GetMemoryDetails(){ return iMemoryDetails; }; |
|
246 inline EngineWrapper* GetEngineWrapper(){ return iEngineWrapper; }; |
|
247 |
|
248 private: |
|
249 CCreatorEngine(); |
|
250 /** |
|
251 * EPOC default constructor for performing 2nd stage construction |
|
252 */ |
|
253 void ConstructL(EngineWrapper *aEngineWrapper); |
|
254 |
|
255 void RequestMemoryDetails(); |
|
256 TBool MMC_OK() const; |
|
257 void Init(); |
|
258 void RunL(); |
|
259 TInt RunError(TInt aError); |
|
260 void DoCancel(); |
|
261 |
|
262 void ExecuteCommand(); |
|
263 void StartEnginesL(); |
|
264 void CheckForMoreCommandsL(); |
|
265 |
|
266 TBool IsDeleteCommand( TInt aCommand ); |
|
267 |
|
268 TInt ReadRandomDataL(const TRandomStringType aRandomStringType, |
|
269 const TInt aResourceId, |
|
270 const TDesC& aFilename, |
|
271 const CCreatorRandomDataParser::TRandomDataType aRandomDataType); |
|
272 void GenerateSourceImageFileL( const TTestDataPath aFileType, const TDesC& aFileName ); |
|
273 void GenereteSourceTextFileL( const TDesC& aFileName, TInt aSize ); |
|
274 |
|
275 public: // from MUIObserver |
|
276 /** |
|
277 * Called when some dialog in UI is closed |
|
278 * |
|
279 * @since S60 10.1 |
|
280 * @param aPositiveAction ETrue if "Ok", "Yes" or other "positive" button was pressed |
|
281 * @param aUserData number that was passed to UI before dialog was opened |
|
282 * @return ?description |
|
283 */ |
|
284 virtual void QueryDialogClosedL(TBool aPositiveAction, TInt aUserData); |
|
285 |
|
286 public: // from MCommandParserObserver |
|
287 /** |
|
288 * Called when CCommandParser user has choosen script file |
|
289 * |
|
290 * @since S60 10.1 |
|
291 * @param aSuccess ETrue if "Ok", "Yes" or other "positive" button was pressed |
|
292 * @param aFileName filename chosen by user |
|
293 * @return None. |
|
294 */ |
|
295 virtual void ScriptChosenL(TBool aSuccess, const TDesC& aFileName = KNullDesC); |
|
296 |
|
297 /** |
|
298 * Called when CCommandParser user has choosen random data file |
|
299 * |
|
300 * @since S60 10.1 |
|
301 * @param aSuccess ETrue if "Ok", "Yes" or other "positive" button was pressed |
|
302 * @param aFileName filename chosen by user |
|
303 * @return None. |
|
304 */ |
|
305 virtual void RandomDataFileChosenL(TBool aSuccess, const TDesC& aFileName = KNullDesC); |
|
306 |
|
307 public: |
|
308 void ExecuteOptionsMenuCommandL(TInt aCommand); |
|
309 void RunScriptL(); |
|
310 TInt RunScriptL(const TDesC& aScriptFile); |
|
311 void ShutDownEnginesL(); |
|
312 void ExecuteFirstCommandL(const TDesC& aText); |
|
313 |
|
314 void AppendToCommandArrayL(TInt aCommand, CCreatorModuleBaseParameters* aParameters, TInt aNumberOfEntries = 1); |
|
315 TInt CommandArrayCount(); |
|
316 |
|
317 TPtrC TestDataPathL(enum TTestDataPath aTestDataPath); |
|
318 TPtrC RandomSoundFileL(); // Returns temporary path, which will be removed on shutdown |
|
319 void RandomPictureFileL(TDes& aPath); // aPath temporary path, which will be removed on shutdown |
|
320 TPtrC CreateRandomSoundFileL(); // Copies file to new location and returns the new path |
|
321 TPtrC CreateSoundFileL(TTestDataPath aId); // Copies file to new location and returns the new path |
|
322 |
|
323 void CopyFileL(const TFileName& aSourceFile, const TFileName& aTargetFile, TBool aOverwrite = EFalse ); |
|
324 /* |
|
325 * Gets attacment file id based on the file id string |
|
326 * @return Attachment file id |
|
327 * @param aAttachmentIdStr Attachment file id string |
|
328 */ |
|
329 TInt GetAttachmentIdL( const TDesC& aAttachmentIdStr ) const; |
|
330 |
|
331 TUint32 GetDefaultIAPL(); |
|
332 TUint32 AccessPointNameToIdL(const TDesC& aAPName, TBool aAnyIfNotFound = EFalse ); |
|
333 |
|
334 TPtrC RandomString(enum TRandomStringType aRandomStringType); |
|
335 TInt RandomNumber(TInt aRange); |
|
336 TInt RandomNumber(TInt aMin, TInt aMax); |
|
337 TTime RandomDate(TRandomDateType type, TInt aMinDays = 0, TInt aMaxDays = 360 ); |
|
338 TTime RandomDate(TTime baseTime, TRandomDateType type, TInt aMinDays = 0, TInt aMaxDays = 360); |
|
339 TTime RandomTime(TTime baseTime, TRandomDateType type, TInt aMinHours=0, TInt aMaxHours=24, TInt aMinMinutes=0, TInt aMaxMinutes=60 ); |
|
340 CDesCArrayFlat* SoundFilesL(); |
|
341 CDesCArrayFlat* PictureFilesL(); |
|
342 |
|
343 HBufC* CreateEmailAddressLC(); |
|
344 HBufC* CreateHTTPUrlLC(); |
|
345 HBufC* CreateRandomStringLC(TInt aStrLen); |
|
346 |
|
347 HBufC* CreateEmailAddressLC( |
|
348 const TDesC& firstname, |
|
349 const TDesC& lastname, |
|
350 const TDesC& domain, |
|
351 const TDesC& country ) const; |
|
352 |
|
353 HBufC* CreateUrlLC( |
|
354 const TDesC& protocol, |
|
355 const TDesC& prefix, |
|
356 const TDesC& domain, |
|
357 const TDesC& country) const; |
|
358 |
|
359 void SetDefaultPathForFileCommandL(TInt aCommand, TFileName& aPath); |
|
360 |
|
361 TBool GetRandomDataL(); |
|
362 TBool GetRandomDataFromFileL(const TDesC& aFilename); |
|
363 void CancelComplete(); |
|
364 CDictionaryFileStore* FileStoreLC(); |
|
365 void ReadEntryIdsFromStoreL( RArray<TInt>& aEntryIds, const TUid aModuleUid ); |
|
366 void WriteEntryIdsToStoreL( RArray<TInt>& aEntryIds, const TUid aModuleUid ); |
|
367 void ReadEntryIdsFromStoreL( RArray<TUint32>& aEntryIds, const TUid aModuleUid ); |
|
368 void WriteEntryIdsToStoreL( RArray<TUint32>& aEntryIds, const TUid aModuleUid ); |
|
369 void RemoveStoreL( const TUid aModuleUid ); |
|
370 void ProgressDialogCancelledL(); |
|
371 |
|
372 void SortCommands(); |
|
373 |
|
374 private: |
|
375 // needed by the engine itself |
|
376 RTimer iTimer; |
|
377 CEikonEnv* iEnv; |
|
378 //CCreatorAppUi* iAppUi; |
|
379 TInt iCurrentEntry; |
|
380 TInt iFailedCommands; |
|
381 |
|
382 CDesCArrayFlat* iSoundFileArray; |
|
383 CDesCArrayFlat* iPictureFileArray; |
|
384 CCommandArray* iCommandArray; |
|
385 RPointerArray<CCreatorModuleBaseParameters> iParameterArray; |
|
386 // progress bar |
|
387 //CAknProgressDialog* iProgressDialog; |
|
388 //CEikProgressInfo* iProgressInfo; |
|
389 |
|
390 // for the random data generator |
|
391 TInt64 iSeed; |
|
392 |
|
393 class TStringArrayPtr |
|
394 { |
|
395 public: |
|
396 TStringArrayPtr(TRandomStringType aType, CDesCArray* aPtr) |
|
397 { |
|
398 iStringType = aType; |
|
399 iArrayPtr = aPtr; |
|
400 }; |
|
401 TRandomStringType iStringType; |
|
402 CDesCArray* iArrayPtr; |
|
403 }; |
|
404 |
|
405 RArray<TStringArrayPtr> iStringArrays; |
|
406 |
|
407 // modules |
|
408 CCreatorBrowser* iBrowser; |
|
409 CCreatorCalendarBase* iCalendar; |
|
410 CCreatorPhonebookBase* iPhonebook; |
|
411 CCreatorNotepad* iNotepad; |
|
412 CCreatorLogs* iLogs; |
|
413 // CCreatorConnectionSettingsBase* iAccessPoints; |
|
414 CCreatorMailboxes* iMailboxes; |
|
415 CCreatorIMPS* iIMPS; |
|
416 CCreatorFiles* iFiles; |
|
417 CCreatorMessages* iMessages; |
|
418 CCreatorLandmarks* iLandmarks; |
|
419 CCreatorCmdScriptRun* iCmdScriptRun; |
|
420 CCommandParser* iCommandParser; |
|
421 |
|
422 // options menu command home module |
|
423 MCreatorModuleBase* iUsedOptionsMenuModule; |
|
424 |
|
425 HBufC* iTempPath; |
|
426 |
|
427 RPointerArray<HBufC> iAllocatedFilePaths; |
|
428 TBool iUserCancelled; |
|
429 |
|
430 // For generating missing bitmaps |
|
431 HBufC8* iBitmapData; |
|
432 CFbsBitmap* iBitmap; |
|
433 CFbsBitmap* iScaledBitmap; |
|
434 CImageDecoder* iDecoder; |
|
435 TFrameInfo iFrameinfo; |
|
436 CImageEncoder* iEncoder; |
|
437 CFrameImageData* iFrameImageData; |
|
438 CBitmapScaler* iScaler; |
|
439 |
|
440 EngineWrapper* iEngineWrapper; // Enginewrapper that is used for communicating between QT and Symbian |
|
441 TMemoryDetails iMemoryDetails; |
|
442 |
|
443 RPointerArray<TMemoryDetails> iMemoryDetailsList; |
|
444 |
|
445 TInt iResourceFileId; |
|
446 |
|
447 HBufC* iCommandLineScriptName; |
|
448 HBufC* iCommandLineRandomDataFileName; |
|
449 }; |
|
450 |
|
451 // this class contains a command which will be executed |
|
452 class TCommand |
|
453 { |
|
454 public: |
|
455 TInt iCommandId; |
|
456 CCreatorModuleBaseParameters* iParameters; |
|
457 public: |
|
458 TCommand(TInt aCommandId, CCreatorModuleBaseParameters* aParameters); |
|
459 ~TCommand(); |
|
460 |
|
461 }; |
|
462 |
|
463 |
|
464 // utility class for waiting for asychronous requests |
|
465 class CAsyncWaiter : public CActive |
|
466 { |
|
467 public: |
|
468 static CAsyncWaiter* NewL( TInt aPriority = EPriorityStandard ); |
|
469 static CAsyncWaiter* NewLC( TInt aPriority = EPriorityStandard ); |
|
470 ~CAsyncWaiter(); |
|
471 |
|
472 void StartAndWait(); |
|
473 TInt Result() const; |
|
474 |
|
475 private: |
|
476 CAsyncWaiter( TInt aPriority ); |
|
477 |
|
478 // from CActive |
|
479 void RunL(); |
|
480 void DoCancel(); |
|
481 |
|
482 private: |
|
483 CActiveSchedulerWait iWait; |
|
484 TInt iError; |
|
485 }; |
|
486 |
|
487 |
|
488 /* |
|
489 * Maps file id string (file name) to TTestDataPath (file id) and TCreatorIds (command id) |
|
490 */ |
|
491 // File ids: |
|
492 |
|
493 _LIT(K3GPP_70KB, "3GPP-70kB"); |
|
494 _LIT(KAAC_100KB, "AAC-100kB"); |
|
495 _LIT(KAMR_20KB, "AMR-20kB"); |
|
496 _LIT(KXLS_15KB, "XLS-15kB"); |
|
497 _LIT(KGIF_2KB, "GIF-2kB"); |
|
498 _LIT(KJPEG_200KB, "JPEG-200kB"); |
|
499 _LIT(KJPEG_25KB, "JPEG-25kB"); |
|
500 _LIT(KJPEG_500KB, "JPEG-500kB"); |
|
501 _LIT(KMIDI_10KB, "MIDI-10kB"); |
|
502 _LIT(KMP3_250KB, "MP3-250kB"); |
|
503 _LIT(KPNG_15KB, "PNG-15kB"); |
|
504 _LIT(KPPT_40KB, "PPT-40kB"); |
|
505 _LIT(KRM_95KB, "RM-95kB"); |
|
506 _LIT(KRNG_1KB, "RNG-1kB"); |
|
507 _LIT(KTXT_10KB, "TXT-10kB"); |
|
508 _LIT(KTXT_70KB, "TXT-70kB"); |
|
509 _LIT(KWAV_20KB, "WAV-20kB"); |
|
510 _LIT(KDOC_20KB, "DOC-20kB"); |
|
511 _LIT(KSWF_15KB, "SWF-15kB"); |
|
512 _LIT(KJAD_1KB, "JAD-1kB"); |
|
513 _LIT(KJAR_10KB, "JAR-10kB"); |
|
514 _LIT(KTIF_25KB, "TIF-25kB"); |
|
515 _LIT(KMXMF_40KB, "MXMF-40kB"); |
|
516 _LIT(KBMP_25KB, "BMP-25kB"); |
|
517 _LIT(KJP2_25KB, "JP2-25kB"); |
|
518 _LIT(KSVG_15KB, "SVG-15kB"); |
|
519 _LIT(KHTML_20KB, "HTML-20kB"); |
|
520 _LIT(KVCF_1KB, "VCF-1kB"); |
|
521 _LIT(KVCS_1KB, "VCS-1kB"); |
|
522 _LIT(KMP4_200KB, "MP4-200kB"); |
|
523 _LIT(KSISX_10KB, "SISX-10kB"); |
|
524 _LIT(KRAM_1KB, "RAM-1kB"); |
|
525 _LIT(KDECK_1KB, "DECK-1kB"); |
|
526 _LIT(KWMA_50KB, "WMA-50kB"); |
|
527 _LIT(KWMV_200KB, "WMV-200kB"); |
|
528 |
|
529 class FileMapping |
|
530 { |
|
531 public: |
|
532 FileMapping(const TDesC& aFileName, TInt aFileId, TInt aCommandId ); |
|
533 const TDesC& FileName() const; |
|
534 TInt FileId() const; |
|
535 TInt CommandId() const; |
|
536 |
|
537 private: |
|
538 const TDesC& iFileName; |
|
539 TInt iFileId; |
|
540 TInt iCommandId; |
|
541 }; |
|
542 |
|
543 /* |
|
544 * This table contains the string <-> TTestDataPath mappings for the file types |
|
545 */ |
|
546 static FileMapping FileMap[] = |
|
547 { |
|
548 |
|
549 FileMapping(K3GPP_70KB, CCreatorEngine::E3GPP_70kB, ECmdCreateFileEntry3GPP_70kB), |
|
550 FileMapping(KAAC_100KB, CCreatorEngine::EAAC_100kB, ECmdCreateFileEntryAAC_100kB), |
|
551 FileMapping(KAMR_20KB, CCreatorEngine::EAMR_20kB, ECmdCreateFileEntryAMR_20kB), |
|
552 FileMapping(KXLS_15KB, CCreatorEngine::EExcel_15kB, ECmdCreateFileEntryXLS_15kB), |
|
553 FileMapping(KGIF_2KB, CCreatorEngine::EGIF_2kB, ECmdCreateFileEntryGIF_2kB), |
|
554 FileMapping(KJPEG_200KB, CCreatorEngine::EJPEG_200kB, ECmdCreateFileEntryJPEG_200kB), |
|
555 FileMapping(KJPEG_25KB, CCreatorEngine::EJPEG_25kB, ECmdCreateFileEntryJPEG_25kB), |
|
556 FileMapping(KJPEG_500KB, CCreatorEngine::EJPEG_500kB, ECmdCreateFileEntryJPEG_500kB), |
|
557 FileMapping(KMIDI_10KB, CCreatorEngine::EMIDI_10kB, ECmdCreateFileEntryMIDI_10kB), |
|
558 FileMapping(KMP3_250KB, CCreatorEngine::EMP3_250kB, ECmdCreateFileEntryMP3_250kB), |
|
559 FileMapping(KPNG_15KB, CCreatorEngine::EPNG_15kB, ECmdCreateFileEntryPNG_15kB), |
|
560 FileMapping(KPPT_40KB, CCreatorEngine::EPowerPoint_40kB, ECmdCreateFileEntryPPT_40kB), |
|
561 FileMapping(KRM_95KB, CCreatorEngine::ERM_95kB, ECmdCreateFileEntryRM_95kB), |
|
562 FileMapping(KRNG_1KB, CCreatorEngine::ERNG_1kB, ECmdCreateFileEntryRNG_1kB), |
|
563 FileMapping(KTXT_10KB, CCreatorEngine::EText_10kB, ECmdCreateFileEntryTXT_10kB), |
|
564 FileMapping(KTXT_70KB, CCreatorEngine::EText_70kB, ECmdCreateFileEntryTXT_70kB), |
|
565 FileMapping(KWAV_20KB, CCreatorEngine::EWAVE_20kB, ECmdCreateFileEntryWAV_20kB), |
|
566 FileMapping(KDOC_20KB, CCreatorEngine::EWord_20kB, ECmdCreateFileEntryDOC_20kB), |
|
567 FileMapping(KBMP_25KB, CCreatorEngine::EBMP_25kB, ECmdCreateFileEntryBMP_25kB), |
|
568 FileMapping(KDECK_1KB, CCreatorEngine::ESavedDeck_1kB, ECmdCreateFileEntryDeck_1kB), |
|
569 FileMapping(KHTML_20KB, CCreatorEngine::EHTML_20kB, ECmdCreateFileEntryHTML_20kB), |
|
570 FileMapping(KJAD_1KB, CCreatorEngine::EJAD_1kB, ECmdCreateFileEntryJAD_1kB), |
|
571 FileMapping(KJAR_10KB, CCreatorEngine::EJAR_10kB, ECmdCreateFileEntryJAR_10kB), |
|
572 FileMapping(KJP2_25KB, CCreatorEngine::EJP2_65kB, ECmdCreateFileEntryJP2_65kB), |
|
573 FileMapping(KMP4_200KB, CCreatorEngine::EMP4_200kB, ECmdCreateFileEntryMP4_200kB), |
|
574 FileMapping(KMXMF_40KB, CCreatorEngine::EMXMF_40kB, ECmdCreateFileEntryMXMF_40kB), |
|
575 FileMapping(KRAM_1KB, CCreatorEngine::ERAM_1kB, ECmdCreateFileEntryRAM_1kB), |
|
576 FileMapping(KSVG_15KB, CCreatorEngine::ESVG_15kB, ECmdCreateFileEntrySVG_15kB), |
|
577 FileMapping(KSWF_15KB, CCreatorEngine::ESWF_15kB, ECmdCreateFileEntrySWF_15kB), |
|
578 FileMapping(KTIF_25KB, CCreatorEngine::ETIF_25kB, ECmdCreateFileEntryTIF_25kB), |
|
579 FileMapping(KVCF_1KB, CCreatorEngine::EVCF_1kB, ECmdCreateFileEntryVCF_1kB), |
|
580 FileMapping(KVCS_1KB, CCreatorEngine::EVCS_1kB, ECmdCreateFileEntryVCS_1kB), |
|
581 FileMapping(KSISX_10KB, CCreatorEngine::ESISX_10kB, ECmdCreateFileEntrySISX_10kB), |
|
582 FileMapping(KWMA_50KB, CCreatorEngine::EWMA_50kB, ECmdCreateFileEntryWMA_50kB), |
|
583 FileMapping(KWMV_200KB, CCreatorEngine::EWMV_200kB, ECmdCreateFileEntryWMV_200kB) |
|
584 }; |
|
585 |
|
586 #endif // __CREATORENGINE_H__ |
|
587 |