|
1 /* |
|
2 * Copyright (c) 2005 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 * UniEditor constant definitions |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 #ifndef __UNIMODELCONST_H |
|
22 #define __UNIMODELCONST_H |
|
23 |
|
24 // INCLUDES |
|
25 #include <msvids.h> // TMsvId |
|
26 #include <unieditorfeatures.h> |
|
27 |
|
28 // CONSTANTS |
|
29 const TInt KDefResFileSignature = 4; // Dummy resource file signature |
|
30 _LIT( KUniDataModelResourceFilename, "UniDataModel.rsc" ); |
|
31 |
|
32 // MACROS |
|
33 |
|
34 // FORWARD DECLARATIONS |
|
35 |
|
36 // DATA TYPES |
|
37 |
|
38 // Value returned by SMIL model's ParseL method. |
|
39 enum TUniParseResult |
|
40 { |
|
41 EParsedFromList = 0x0001, // (1) <-+ These are exclusive for each other |
|
42 EParsedFromSmil = 0x0002, // (1) <-/ |
|
43 EUnsupportedObjects = 0x0100, |
|
44 EMissingObjects = 0x0200, |
|
45 EBadlyReferencedObjects = 0x0400, |
|
46 ERegionMediaTypeMismatch = 0x0800, |
|
47 EOneNonConformantObject = 0x1000, |
|
48 EMultiNonConformantObject = 0x2000, |
|
49 ETextAndImageRegionsSame = 0x4000, |
|
50 EObjectRemoved = 0x8000 |
|
51 }; |
|
52 |
|
53 enum TUniSmilType |
|
54 { |
|
55 ENoSmil, |
|
56 EMultipleSmil, |
|
57 EMmsSmil, |
|
58 ETemplateSmil, |
|
59 E3GPPSmil |
|
60 }; |
|
61 |
|
62 // TUniLayout |
|
63 // Defines order of objects in display. |
|
64 enum TUniLayout |
|
65 { |
|
66 EUniUndefinedLayout = 0, |
|
67 EUniImageFirst, |
|
68 EUniTextFirst |
|
69 }; |
|
70 |
|
71 enum TUniRegion |
|
72 { |
|
73 EUniRegionUnresolved, |
|
74 EUniRegionImage, |
|
75 EUniRegionText, |
|
76 EUniRegionAudio |
|
77 }; |
|
78 |
|
79 // FUNCTION PROTOTYPES |
|
80 |
|
81 // CLASS DECLARATION |
|
82 |
|
83 #endif // __UNIMODELCONST_H |
|
84 |
|
85 // End of file |