|
1 /* |
|
2 * Copyright (c) 2008-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: Definitions for media attributes |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef __T_GLXMEDIAGENERALDEFS_H__ |
|
21 #define __T_GLXMEDIAGENERALDEFS_H__ |
|
22 |
|
23 #include <e32base.h> |
|
24 #include <mpxattribute.h> |
|
25 |
|
26 /** |
|
27 * Content ID identifying progress messages |
|
28 */ |
|
29 const TInt KGlxMediaIdGeneral = 0x200071A8; |
|
30 |
|
31 /** |
|
32 * Boolean value of whether item is a system item. |
|
33 * System albums true (Favourites, Camera album), otherwise false |
|
34 * (For collection plugins true, but will probably not be asked) |
|
35 * TBool |
|
36 */ |
|
37 const TMPXAttributeData KGlxMediaGeneralSystemItem ={KGlxMediaIdGeneral, 0x01}; |
|
38 |
|
39 /** |
|
40 * Original dimensions of image or video clip |
|
41 * TSize |
|
42 */ |
|
43 const TMPXAttributeData KGlxMediaGeneralDimensions ={KGlxMediaIdGeneral, 0x02}; |
|
44 |
|
45 /** |
|
46 * Frame count (animated GIF) |
|
47 * TInt |
|
48 */ |
|
49 const TMPXAttributeData KGlxMediaGeneralFramecount ={KGlxMediaIdGeneral, 0x04}; |
|
50 |
|
51 /** |
|
52 * Location |
|
53 * TCoordinate (defined in lbsposition.h) |
|
54 */ |
|
55 const TMPXAttributeData KGlxMediaGeneralLocation ={KGlxMediaIdGeneral, 0x08}; |
|
56 |
|
57 /** |
|
58 * Slideshowable Contents (count or -1 for non-containers) |
|
59 * TInt |
|
60 */ |
|
61 const TMPXAttributeData KGlxMediaGeneralSlideshowableContent ={KGlxMediaIdGeneral, 0x20}; |
|
62 |
|
63 /** |
|
64 * Slideshowable Contents (count or -1 for non-containers) |
|
65 * TInt |
|
66 */ |
|
67 const TMPXAttributeData KGlxMediaGeneralLastModifiedDate ={KGlxMediaIdGeneral, 0x40}; |
|
68 |
|
69 //MDS 2.5 Migration. Remove the Comments |
|
70 /** |
|
71 * Slideshowable Contents (count or -1 for non-containers) |
|
72 * TInt |
|
73 */ |
|
74 const TMPXAttributeData KGlxMediaGeneralDRMRightsValid ={KGlxMediaIdGeneral, 0x80}; |
|
75 |
|
76 /** |
|
77 * DEPRECATED, please use consts above |
|
78 * Attributes supported for KGlxMediaIdGeneral |
|
79 */ |
|
80 enum |
|
81 { |
|
82 /** |
|
83 * Boolean value of whether item is a system item. |
|
84 * System albums true (Favourites, Camera album), otherwise false |
|
85 * (For collection plugins true, but will probably not be asked) |
|
86 * TBool |
|
87 */ |
|
88 EGlxMediaGeneralSystemItem = 0x01, |
|
89 |
|
90 /** |
|
91 * Original dimensions of image or video clip |
|
92 * TSize |
|
93 */ |
|
94 EGlxMediaGeneralDimensions = 0x02, |
|
95 |
|
96 /** |
|
97 * Frame count (animated GIF) |
|
98 * TInt |
|
99 */ |
|
100 EGlxMediaGeneralFramecount = 0x04, |
|
101 |
|
102 /** |
|
103 * Location |
|
104 * TCoordinate (defined in lbsposition.h) |
|
105 */ |
|
106 EGlxMediaGeneralLocation = 0x08, |
|
107 }; |
|
108 |
|
109 //MDS 2.5 Migration. Remove the Comments |
|
110 enum TGlxMediaGeneralRightsValidity |
|
111 { |
|
112 EGlxDrmRightsValidityUnknown, |
|
113 EGlxDrmRightsValid, |
|
114 EGlxDrmRightsInvalid |
|
115 }; |
|
116 #endif // __T_GLXMEDIAGENERALDEFS_H__ |