2
* Copyright © 2007, Bastien Nocera <hadess@hadess.net
4
* This library is free software; you can redistribute it and/or
5
* modify it under the terms of the GNU Lesser General Public
6
* License as published by the Free Software Foundation; either
7
* version 2.1 of the License, or (at your option) any later version.
9
* This library is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
* Lesser General Public License for more details.
14
* You should have received a copy of the GNU Lesser General Public
15
* License along with this library; if not, write to the
16
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17
* Boston, MA 02111-1307, USA.
20
#include "nsISupports.idl"
22
interface totemIGMPMedia;
24
[scriptable, uuid(81490ff4-5e64-433a-aee1-28dcf0a09d39)]
25
interface totemIGMPPlaylist : nsISupports
28
* http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmpsdk11/mmp_sdk/playlistobject.asp */
29
void appendItem (in totemIGMPMedia item);
30
readonly attribute long attributeCount;
32
* readonly attribute attributeName (in long index) */
33
AUTF8String attributeName (in long index);
34
AUTF8String getAttributeName (in long index);
35
readonly attribute long count;
36
AUTF8String getItemInfo (in AUTF8String name);
37
void insertItem (in long index, in totemIGMPMedia item);
38
boolean isIdentical (in totemIGMPPlaylist playlist);
39
totemIGMPMedia item (in long index);
40
void moveItem (in long oldIndex, in long newIndex);
41
attribute AUTF8String name;
42
void removeItem (in totemIGMPMedia item);
43
void setItemInfo (in AUTF8String name, in AUTF8String value);