Songbird / Development / Songbird Add-Ons API Documentation

components/devices/base/public/sbIDeviceManager.idl

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 
00027 #include "nsISupports.idl"
00028 
00029 interface nsIArray;
00030 interface nsIVariant;
00031 interface sbIDevice;
00032 interface sbIDeviceEvent;
00033 interface sbIDeviceMarshall;
00034 interface sbIMediaItem;
00035 
00043 /*
00044  * XXXMook: rename this to sbIDeviceManager once the old interface has been
00045  * properly removed
00046  */
00047 [scriptable, uuid(2685D258-FFE3-4E78-AA0E-D15838416CED)]
00048 interface sbIDeviceManager2 : nsISupports
00049 {
00054   readonly attribute nsIArray marshalls;
00055 
00059   sbIDeviceMarshall getMarshallByID(in nsIDPtr aIDPtr);
00060 
00064   void updateDevices();
00065   
00081   sbIDeviceEvent createEvent(in unsigned long aType,
00082                              [optional] in nsIVariant aData,
00083                              [optional] in nsISupports aOrigin);
00084 
00094   sbIDevice getDeviceForItem(in sbIMediaItem aItem);
00095 
00099   readonly attribute boolean canDisconnect;
00100 };

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