1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
24 #ifndef REMCONMEDIABROWSETYPES_H
25 #define REMCONMEDIABROWSETYPES_H
28 #include <remconmediaattributeid.h>
31 Defines a type representing a UID which is 8 octet and uniquely identifys
32 a folder or media element in the media library.
34 typedef TUint64 TRemConItemUid;
37 Defines item types to indicate the item is a folder item or media item.
41 ERemConFolderItem = 2,
49 TRemConItemType iType;
53 Defines a type which indicates whether a folder item is playable.
55 typedef TUint8 TFolderItemPlayable;
58 Defines a type to indicate a media item type.
60 typedef TUint8 TMediaItemType;
62 const TFolderItemPlayable KFolderNotPlayable = 0;
63 const TFolderItemPlayable KFolderPlayable = 1;
65 const TMediaItemType KMediaAudio = 0;
66 const TMediaItemType KMediaVideo = 1;
80 Defines folder scopes in which media content navigaition may take place.
82 enum TRemConFolderScope
85 Applicable in browsed player.
86 Valid browseable items are foler item and media element item.
91 Applicable in browsed player.
92 Valid browseable items are media element items.
94 ESearchResultFolder = 0x2,
97 Applicable in addressed player.
98 Valid browseable items are media element items.
100 ENowPlayingFolder = 0x3
104 A data container of a media element attribute.
107 class TMediaElementAttribute
110 TMediaAttributeId iAttributeId;
113 The value of the attribute in UTF-8.
118 #endif //REMCONMEDIABROWSETYPES_H