|
1 /* |
|
2 * Copyright (c) 2007-2009 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: Metadata Engine's literals. |
|
15 * |
|
16 */ |
|
17 |
|
18 // conforms to Metadata schema version 1.6 |
|
19 |
|
20 #ifndef MDECONSTANTS_H |
|
21 #define MDECONSTANTS_H |
|
22 |
|
23 namespace MdeConstants |
|
24 { |
|
25 namespace Object |
|
26 { |
|
27 _LIT( KBaseObject, "Object" ); |
|
28 _LIT( KAutomaticUri, "" ); |
|
29 |
|
30 _LIT( KSizeProperty, "Size" ); |
|
31 _LIT( KOriginProperty, "Origin" ); |
|
32 _LIT( KUsageCountProperty, "UsageCount" ); |
|
33 _LIT( KCreationDateProperty, "CreationDate" ); |
|
34 _LIT( KLastModifiedDateProperty, "LastModifiedDate" ); |
|
35 _LIT( KItemTypeProperty, "ItemType" ); |
|
36 _LIT( KTitleProperty, "Title" ); |
|
37 _LIT( KTimeOffsetProperty, "TimeOffset" ); |
|
38 |
|
39 enum TOrigin |
|
40 { |
|
41 EOther = 0, |
|
42 ECamera = 1, |
|
43 EDownloaded = 2, |
|
44 ESideLoaded = 3, |
|
45 ERecorded = 4 |
|
46 }; |
|
47 } |
|
48 typedef MdeConstants::Object::TOrigin Origin; // deprecated |
|
49 |
|
50 namespace Location |
|
51 { |
|
52 _LIT( KLocationObject, "Location" ); |
|
53 _LIT( KLocationItemType, "application/vnd.nokia.mde.locationcontext" ); |
|
54 |
|
55 _LIT( KCellIdProperty, "CellID" ); |
|
56 _LIT( KCountryCodeProperty, "CountryCodeStr" ); |
|
57 _LIT( KNetworkCodeProperty, "NetworkCodeStr" ); |
|
58 _LIT( KLocationAreaCodeProperty, "LocationAreaCode" ); |
|
59 _LIT( KSpeedProperty, "Speed" ); |
|
60 _LIT( KDirectionProperty, "Direction" ); |
|
61 _LIT( KQualityProperty, "Quality" ); |
|
62 _LIT( KLatitudeProperty, "Latitude" ); |
|
63 _LIT( KLongitudeProperty, "Longitude" ); |
|
64 _LIT( KAltitudeProperty, "Altitude" ); |
|
65 _LIT( KSatellitesProperty, "Satellites" ); |
|
66 _LIT( KCountryProperty, "Country" ); |
|
67 _LIT( KCellNameProperty, "CellName" ); |
|
68 } |
|
69 |
|
70 namespace Calendar |
|
71 { |
|
72 _LIT( KCalendarObject, "Calendar" ); |
|
73 _LIT( KCalendarItemType, "application/vnd.nokia.mde.calendarcontext" ); |
|
74 |
|
75 _LIT( KCalendarTypeProperty, "CalendarType" ); |
|
76 _LIT( KStartTimeProperty, "StartTime" ); |
|
77 _LIT( KEndTimeProperty, "EndTime" ); |
|
78 _LIT( KLocationProperty, "Location" ); |
|
79 _LIT( KvCalendarProperty, "vCalendar" ); |
|
80 _LIT( KLocalUidProperty, "LocalUid" ); |
|
81 } |
|
82 |
|
83 namespace Contact |
|
84 { |
|
85 _LIT( KContactObject, "Contact" ); |
|
86 _LIT( KContactItemType, "application/vnd.nokia.mde.contactcontext" ); |
|
87 |
|
88 _LIT( KNumberProperty, "Number" ); |
|
89 _LIT( KEmailAddressProperty, "EmailAddress" ); |
|
90 _LIT( KCompanyProperty, "Company" ); |
|
91 _LIT( KJobTitleProperty, "JobTitle" ); |
|
92 _LIT( KAddressProperty, "Address" ); |
|
93 _LIT( KURLProperty, "ContactURL" ); |
|
94 _LIT( KvCardProperty, "vCard" ); |
|
95 } |
|
96 |
|
97 namespace Message |
|
98 { |
|
99 _LIT( KMessageObject, "Message" ); |
|
100 _LIT( KSMSItemType, "application/vnd.nokia.mde.sms" ); |
|
101 _LIT( KMMSItemType, "application/vnd.nokia.mde.mms" ); |
|
102 |
|
103 _LIT( KReceivedProperty, "Received" ); |
|
104 _LIT( KSenderProperty, "Sender" ); |
|
105 _LIT( KToWhomProperty, "ToWhom" ); |
|
106 } |
|
107 |
|
108 namespace Album |
|
109 { |
|
110 _LIT( KAlbumObject, "Album" ); |
|
111 _LIT( KAlbumItemType, "application/vnd.nokia.mde.album" ); |
|
112 |
|
113 _LIT( KOrderedProperty, "Ordered" ); |
|
114 _LIT( KTypeProperty, "Type" ); |
|
115 _LIT( KPropertiesProperty, "Properties" ); |
|
116 _LIT( KSlideshowWallpaperProperty, "SlideshowWallpaper" ); |
|
117 |
|
118 enum TAlbumType |
|
119 { |
|
120 EAlbumUser = 0, |
|
121 EAlbumUserPredefined = 1, |
|
122 EAlbumSystemFavourite = 2, |
|
123 EAlbumSystemCamera = 3, |
|
124 }; |
|
125 typedef MdeConstants::Album::TAlbumType AlbumType; // deprecated |
|
126 } |
|
127 |
|
128 namespace Tag |
|
129 { |
|
130 _LIT( KTagObject, "Tag" ); |
|
131 _LIT( KTagItemType, "application/vnd.nokia.mde.tag" ); |
|
132 } |
|
133 |
|
134 namespace MediaObject |
|
135 { |
|
136 _LIT( KMediaObject, "MediaObject" ); |
|
137 |
|
138 _LIT( KProtectedProperty, "Protected" ); |
|
139 _LIT( KDRMProperty, "DRM" ); |
|
140 _LIT( KThumbnailPresentProperty, "ThumbnailPresent" ); |
|
141 _LIT( KResizedProperty, "Resized" ); |
|
142 _LIT( KSampleProperty, "Sample" ); |
|
143 _LIT( KRatingProperty, "Rating" ); |
|
144 _LIT( KPrivacyProperty, "Privacy" ); |
|
145 _LIT( KResolutionUnitProperty, "ResolutionUnit" ); |
|
146 _LIT( KBitrateProperty, "Bitrate" ); |
|
147 _LIT( KWidthProperty, "Width" ); |
|
148 _LIT( KHeightProperty, "Height" ); |
|
149 _LIT( KPreinstalledProperty, "Preinstalled" ); |
|
150 _LIT( KAccessCountProperty, "AccessCount" ); |
|
151 _LIT( KDownloadIdProperty, "DownloadID" ); |
|
152 _LIT( KDurationProperty, "Duration" ); |
|
153 _LIT( KReleaseDateProperty, "ReleaseDate" ); |
|
154 _LIT( KCaptureDateProperty, "CaptureDate" ); |
|
155 _LIT( KArtistProperty, "Artist" ); |
|
156 _LIT( KAuthorProperty, "Author" ); |
|
157 _LIT( KCopyrightProperty, "Copyright" ); |
|
158 _LIT( KLegalProperty, "Legal" ); |
|
159 _LIT( KDescriptionProperty, "Description" ); |
|
160 _LIT( KCommentProperty, "Comment" ); |
|
161 _LIT( KGenreProperty, "Genre" ); |
|
162 _LIT( KTrackProperty, "Track" ); |
|
163 _LIT( KAudioFourCCProperty, "AudioFourCC" ); |
|
164 |
|
165 enum TPreinstalledFlag |
|
166 { |
|
167 ENotPreinstalled = 0, |
|
168 EPreinstalled = 1 |
|
169 }; |
|
170 } |
|
171 |
|
172 namespace Video // derived from MediaObject |
|
173 { |
|
174 _LIT( KVideoObject, "Video" ); |
|
175 |
|
176 _LIT( KAgeProfileProperty, "AgeProfile" ); |
|
177 _LIT( KRecordingFlagsProperty, "RecordingFlags" ); |
|
178 _LIT( KLastPlayPositionProperty, "LastPlayPosition" ); |
|
179 _LIT( KFramerateProperty, "Framerate" ); |
|
180 _LIT( KAudioLanguageProperty, "AudioLanguage" ); |
|
181 } |
|
182 |
|
183 namespace Image // derived from MediaObject |
|
184 { |
|
185 _LIT( KImageObject, "Image" ); |
|
186 |
|
187 _LIT( KDraftProperty, "Draft" ); |
|
188 _LIT( KFocalPlaneResolutionUnitProperty, "FocalPlaneResolutionUnit" ); |
|
189 _LIT( KExposureProgramProperty, "ExposureProgram" ); |
|
190 _LIT( KFocalLengthIn35mmFilmProperty, "FocalLengthIn35mmFilm" ); |
|
191 _LIT( KISOSpeedRatingsProperty, "ISOSpeedRatings" ); |
|
192 _LIT( KMeteringModeProperty, "MeteringMode" ); |
|
193 _LIT( KWhiteBalanceProperty, "WhiteBalance" ); |
|
194 _LIT( KFlashProperty, "Flash" ); |
|
195 _LIT( KColourSpaceProperty, "ColourSpace" ); |
|
196 _LIT( KOrientationProperty, "Orientation" ); |
|
197 _LIT( KSamplesPerPixelProperty, "SamplesPerPixel" ); |
|
198 _LIT( KBitsPerSampleProperty, "BitsPerSample" ); |
|
199 _LIT( KYCbCrPositioningProperty, "YCbCrPositioning" ); |
|
200 _LIT( KThumbCompressionProperty, "ThumbCompression" ); |
|
201 _LIT( KThumbResolutionUnitProperty, "ThumbResolutionUnit" ); |
|
202 _LIT( KThumbOrientationProperty, "ThumbOrientation" ); |
|
203 _LIT( KFrameCountProperty, "FrameCount" ); |
|
204 _LIT( KPixelXDimensionProperty, "PixelXDimension" ); |
|
205 _LIT( KPixelYDimensionProperty, "PixelYDimension" ); |
|
206 _LIT( KExifVersionProperty, "ExifVersion" ); |
|
207 _LIT( KComponentsConfigurationProperty, "ComponentsConfiguration" ); |
|
208 _LIT( KFlashPixVersionProperty, "FlashPixVersion" ); |
|
209 _LIT( KThumbXResolutionProperty, "ThumbXResolution" ); |
|
210 _LIT( KThumbYResolutionProperty, "ThumbYResolution" ); |
|
211 _LIT( KFocalPlaneXResolutionProperty, "FocalPlaneXResolution" ); |
|
212 _LIT( KFocalPlaneYResolutionProperty, "FocalPlaneYResolution" ); |
|
213 _LIT( KExposureTimeProperty, "ExposureTime" ); |
|
214 _LIT( KExposureBiasValueProperty, "ExposureBiasValue" ); |
|
215 _LIT( KFNumberProperty, "FNumber" ); |
|
216 _LIT( KFocalLengthProperty, "FocalLength" ); |
|
217 _LIT( KApertureValueProperty, "ApertureValue" ); |
|
218 _LIT( KMaxApertureProperty, "MaxAperture" ); |
|
219 _LIT( KShutterSpeedValueProperty, "ShutterSpeedValue" ); |
|
220 _LIT( KXResolutionProperty, "XResolution" ); |
|
221 _LIT( KYResolutionProperty, "YResolution" ); |
|
222 _LIT( KDateTimeProperty, "DateTime" ); |
|
223 _LIT( KDateTimeDigitizedProperty, "DateTimeDigitized" ); |
|
224 _LIT( KDateTimeOriginalProperty, "DateTimeOriginal" ); |
|
225 _LIT( KPixelFormatProperty, "PixelFormat" ); |
|
226 _LIT( KModelProperty, "Model" ); |
|
227 _LIT( KMakeProperty, "Make" ); |
|
228 _LIT( KRelatedSoundFileProperty, "RelatedSoundFile" ); |
|
229 } |
|
230 |
|
231 namespace Audio // derived from MediaObject |
|
232 { |
|
233 _LIT( KAudioObject, "Audio" ); |
|
234 |
|
235 _LIT( KSamplingFrequencyProperty, "SamplingFrequency" ); |
|
236 _LIT( KAlbumProperty, "Album" ); |
|
237 _LIT( KComposerProperty, "Composer" ); |
|
238 _LIT( KOriginalArtistProperty, "OriginalArtist" ); |
|
239 _LIT( KAlbumArtistProperty, "AlbumArtist" ); |
|
240 } |
|
241 |
|
242 namespace Events |
|
243 { |
|
244 _LIT( KCreated, "Created" ); |
|
245 _LIT( KDeleted, "Deleted" ); |
|
246 _LIT( KOpened, "Opened" ); |
|
247 _LIT( KPlayed, "Played" ); |
|
248 _LIT( KEdited, "Edited" ); |
|
249 _LIT( KSent, "Sent" ); |
|
250 _LIT( KReceived, "Received" ); |
|
251 } |
|
252 |
|
253 namespace Relations |
|
254 { |
|
255 _LIT( KContains, "Contains" ); |
|
256 _LIT( KReplaces, "Replaces" ); |
|
257 _LIT( KIsVersionOf, "IsVersionOf" ); |
|
258 _LIT( KRequires, "Requires" ); |
|
259 _LIT( KUses, "Uses" ); |
|
260 _LIT( KReferences, "References" ); |
|
261 _LIT( KSummarises, "Summarises" ); |
|
262 _LIT( KContainsLocation, "ContainsLocation" ); |
|
263 } |
|
264 |
|
265 namespace TrackLog |
|
266 { |
|
267 _LIT( KTrackLogObject, "TrackLog" ); |
|
268 _LIT( KTrackLogItemType, "application/vnd.nokia.mde.tracklog" ); |
|
269 _LIT( KLengthProperty, "Length" ); |
|
270 _LIT( KStartTimeProperty, "StartTime" ); |
|
271 _LIT( KStopTimeProperty, "StopTime" ); |
|
272 } |
|
273 } |
|
274 |
|
275 // type definitions |
|
276 |
|
277 typedef MdeConstants::Object::TOrigin TOrigin; |
|
278 |
|
279 |
|
280 #endif // MDECONSTANTS_H |