Songbird / Development / Songbird Add-Ons API Documentation

components/library/base/public/sbIMediaItemWatcher.idl

00001 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
00002 /* vim: set sw=2 :miv */
00003 /*
00004 //
00005 // BEGIN SONGBIRD GPL
00006 //
00007 // This file is part of the Songbird web player.
00008 //
00009 // Copyright(c) 2005-2008 POTI, Inc.
00010 // http://songbirdnest.com
00011 //
00012 // This file may be licensed under the terms of of the
00013 // GNU General Public License Version 2 (the "GPL").
00014 //
00015 // Software distributed under the License is distributed
00016 // on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either
00017 // express or implied. See the GPL for the specific language
00018 // governing rights and limitations.
00019 //
00020 // You should have received a copy of the GPL along with this
00021 // program. If not, go to http://www.gnu.org/licenses/gpl.html
00022 // or write to the Free Software Foundation, Inc.,
00023 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
00024 //
00025 // END SONGBIRD GPL
00026 //
00027 */
00028 
00029 //------------------------------------------------------------------------------
00030 //------------------------------------------------------------------------------
00031 //
00032 // Interface description for the media item watcher interface.
00033 //
00034 //------------------------------------------------------------------------------
00035 //------------------------------------------------------------------------------
00036 
00037 #include "nsISupports.idl"
00038 
00039 
00051 interface sbIMediaItem;
00052 interface sbIMediaItemListener;
00053 interface sbIPropertyArray;
00054 
00055 [scriptable, uuid(bac56d2b-0ea8-46b8-ac35-1051986fc3f4)]
00056 interface sbIMediaItemWatcher : nsISupports
00057 {
00058   /*XXXeps Should add watchSome to watch multiple media items. */
00059 
00071   void watch(in sbIMediaItem                aMediaItem,
00072              in sbIMediaItemListener        aListener,
00073              [optional] in sbIPropertyArray aPropertyIDs);
00074 
00078   void cancel();
00079 };
00080 
00081 
00082 //
00083 // C++ defs.
00084 //
00085 
00086 %{C++
00087 #define SONGBIRD_MEDIAITEMWATCHER_CONTRACTID \
00088           "@songbirdnest.com/Songbird/Library/MediaItemWatcher;1"
00089 %}C++
00090 

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