00001 /* 00002 // 00003 // BEGIN SONGBIRD GPL 00004 // 00005 // This file is part of the Songbird web player. 00006 // 00007 // Copyright(c) 2005-2008 POTI, Inc. 00008 // http://songbirdnest.com 00009 // 00010 // This file may be licensed under the terms of of the 00011 // GNU General Public License Version 2 (the "GPL"). 00012 // 00013 // Software distributed under the License is distributed 00014 // on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either 00015 // express or implied. See the GPL for the specific language 00016 // governing rights and limitations. 00017 // 00018 // You should have received a copy of the GPL along with this 00019 // program. If not, go to http://www.gnu.org/licenses/gpl.html 00020 // or write to the Free Software Foundation, Inc., 00021 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 00022 // 00023 // END SONGBIRD GPL 00024 // 00025 */ 00026 00032 #include "nsISupports.idl" 00033 00034 interface sbIMediaList; 00035 interface sbIMediaItem; 00036 interface nsISimpleEnumerator; 00037 00045 [scriptable, uuid(9a3da84e-209c-4d49-9294-c156080486bc)] 00046 interface sbILibraryTransferContext : nsISupports 00047 { 00051 readonly attribute sbIMediaList source; 00052 00056 readonly attribute unsigned long count; 00057 }; 00058 00066 [scriptable, uuid(b2f94ac7-de15-4c63-8ea0-0cd58e512512)] 00067 interface sbIMediaListTransferContext : sbILibraryTransferContext 00068 { 00072 readonly attribute sbIMediaList list; 00073 }; 00074 00091 [scriptable, uuid(dcb5d9ea-df04-44fa-9163-b28f80a83a69)] 00092 interface sbIMediaItemsTransferContext : sbILibraryTransferContext 00093 { 00098 readonly attribute nsISimpleEnumerator items; 00099 00106 readonly attribute nsISimpleEnumerator indexedItems; 00107 00112 void reset(); 00113 }; 00114