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