00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00033 #include "nsISupports.idl"
00034
00035 interface nsISimpleEnumerator;
00036 interface sbIMediaItem;
00037 interface sbIMediaList;
00038
00044 [scriptable, uuid(d14dd760-3e10-4114-be30-6f4887279214)]
00045 interface sbIOrderableMediaList : nsISupports
00046 {
00052 void insertBefore(in unsigned long aIndex,
00053 in sbIMediaItem aMediaItem);
00054
00060 void insertAllBefore(in unsigned long aIndex,
00061 in sbIMediaList aMediaList);
00062
00068 void moveBefore(in unsigned long aFromIndex,
00069 in unsigned long aToIndex);
00070
00075 void moveLast(in unsigned long aIndex);
00076
00082 void insertSomeBefore(in unsigned long aIndex,
00083 in nsISimpleEnumerator aMediaItems);
00084
00090 void moveSomeBefore([array, size_is(aFromIndexArrayCount)] in unsigned long aFromIndexArray,
00091 in unsigned long aFromIndexArrayCount,
00092 in unsigned long aToIndex);
00093
00098 void moveSomeLast([array, size_is(aIndexArrayCount)] in unsigned long aIndexArray,
00099 in unsigned long aIndexArrayCount);
00100 };
00101