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
00027 #include "nsISupports.idl"
00028
00029 interface sbIMediaItem;
00030 interface sbIMediaList;
00031 interface nsIArray;
00032 interface nsISimpleEnumerator;
00033 interface sbIJobProgress;
00034
00042 [scriptable, uuid(6b029f20-cadd-11dd-ad8b-0800200c9a66)]
00043 interface sbIDirectoryImportJob : nsISupports
00044 {
00050 readonly attribute unsigned long totalAddedToMediaList;
00051
00055 readonly attribute unsigned long totalAddedToLibrary;
00056
00060 readonly attribute unsigned long totalDuplicates;
00061
00066 nsISimpleEnumerator enumerateAllItems();
00067
00071 readonly attribute sbIMediaList targetMediaList;
00072
00076 readonly attribute unsigned long targetIndex;
00077 };
00078
00079
00085 [scriptable, uuid(13ab5520-449e-11dd-ae16-0800200c9a66)]
00086 interface sbIDirectoryImportService : nsISupports
00087 {
00088
00099 sbIDirectoryImportJob import(in nsIArray aDirectories,
00100 [optional] in sbIMediaList aTargetMediaList,
00101 [optional] in PRInt32 aTargetIndex);
00102 };
00103
00104