Songbird / Development / Songbird Add-Ons API Documentation

components/library/localdatabase/public/sbILocalDatabaseDynamicPlaylistService.idl

Go to the documentation of this file.
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 nsILocalFile;
00035 interface nsISimpleEnumerator;
00036 interface nsIURI;
00037 interface sbILocalDatabaseLibrary;
00038 interface sbILocalDatabaseSimpleMediaList;
00039 interface sbIMediaList;
00040 
00044 [scriptable, uuid(8907dc15-7a57-441a-a35c-6b00d64d78bb)]
00045 interface sbILocalDatabaseDynamicPlaylistService : nsISupports
00046 {
00057   sbIMediaList createList(in sbILocalDatabaseLibrary aLibrary,
00058                           in nsIURI aUri,
00059                           in unsigned long aIntervalSeconds,
00060                           in nsILocalFile aDestinationDirectory);
00061 
00071   void updateList(in sbILocalDatabaseSimpleMediaList aMediaList,
00072                   in nsIURI aUri,
00073                   in unsigned long aIntervalSeconds,
00074                   in nsILocalFile aDestinationDirectory);
00075 
00079   void updateAllNow();
00080 
00085   void updateNow(in sbIMediaList aMediaList);
00086 
00090   readonly attribute nsISimpleEnumerator scheduledLists;
00091 };
00092 

Generated on Tue Mar 10 14:28:55 2009 for Songbird by  doxygen 1.5.2