--- a/mmappcomponents/mmmtpdataprovider/inc/tobjectdescription.h Mon Mar 15 12:42:31 2010 +0200
+++ b/mmappcomponents/mmmtpdataprovider/inc/tobjectdescription.h Wed Mar 31 22:26:09 2010 +0300
@@ -38,6 +38,7 @@
enum TGroupCodeType
{
EGroupCodeGeneral = 0x00000001,
+ EGroupCodeSample = 0x00000100,
EGroupCodeMediaDB = 0x00FF0000,
EGroupCodeNotDefined = 0xFFFFFFFF // TODO: need to reconsider
};
@@ -45,6 +46,7 @@
static const TGroupCodeType KSupportedGroupCode[] =
{
EGroupCodeGeneral,
+ EGroupCodeSample,
EGroupCodeMediaDB
};
@@ -62,14 +64,25 @@
{ EMTPObjectPropCodeNonConsumable, EGroupCodeGeneral },
// The first group, addtional for all
+ { EMTPObjectPropCodeName, EGroupCodeGeneral }, // only for winlogo
{ EMTPObjectPropCodeDateCreated, EGroupCodeGeneral },
{ EMTPObjectPropCodeDateModified, EGroupCodeGeneral },
- // The second group, additional for all
- { EMTPObjectPropCodeName, EGroupCodeMediaDB },
+ // The first group, mandatory for video
+ { EMTPObjectPropCodeWidth, EGroupCodeGeneral }, // only for winlogo
+ { EMTPObjectPropCodeHeight, EGroupCodeGeneral }, // only for winlogo
+
+ // The second group, for non-embedded album art
+ { EMTPObjectPropCodeRepresentativeSampleFormat, EGroupCodeGeneral }, // changed for winlogo
+ { EMTPObjectPropCodeRepresentativeSampleSize, EGroupCodeGeneral }, // changed for winlogo
+ { EMTPObjectPropCodeRepresentativeSampleHeight, EGroupCodeGeneral }, // changed for winlogo
+ { EMTPObjectPropCodeRepresentativeSampleWidth, EGroupCodeGeneral }, // changed for winlogo
+ { EMTPObjectPropCodeRepresentativeSampleData, EGroupCodeGeneral }, // changed for winlogo
+
+ // The third group, additional for all
{ EMTPObjectPropCodeDateAdded, EGroupCodeMediaDB },
- // The second group, mandatory for audio
+ // The third group, mandatory for audio
{ EMTPObjectPropCodeArtist, EGroupCodeMediaDB },
{ EMTPObjectPropCodeTrack, EGroupCodeMediaDB },
{ EMTPObjectPropCodeGenre, EGroupCodeMediaDB },
@@ -82,11 +95,9 @@
{ EMTPObjectPropCodeOriginalReleaseDate, EGroupCodeMediaDB },
{ EMTPObjectPropCodeDescription, EGroupCodeMediaDB },
{ EMTPObjectPropCodeComposer, EGroupCodeMediaDB },
+ { EMTPObjectPropCodeAlbumArtist, EGroupCodeMediaDB },
- // The second group, mandatory for video
- { EMTPObjectPropCodeWidth, EGroupCodeMediaDB },
- { EMTPObjectPropCodeHeight, EGroupCodeMediaDB },
- { EMTPObjectPropCodeUseCount, EGroupCodeMediaDB },
+ // The third group, mandatory for video
{ EMTPObjectPropCodeScanType, EGroupCodeMediaDB },
{ EMTPObjectPropCodeVideoFourCCCodec, EGroupCodeMediaDB },
{ EMTPObjectPropCodeVideoBitRate, EGroupCodeMediaDB },
@@ -94,7 +105,7 @@
{ EMTPObjectPropCodeKeyFrameDistance, EGroupCodeMediaDB },
{ EMTPObjectPropCodeEncodingProfile, EGroupCodeMediaDB },
- // The second group, additional for video
+ // The third group, additional for video
{ EMTPObjectPropCodeParentalRating, EGroupCodeMediaDB },
{ EMTPObjectPropCodeDRMStatus, EGroupCodeMediaDB },
{ EMTPExtObjectPropCodeOmaDrmStatus, EGroupCodeMediaDB }