sbIDeviceFirmwareSupport.idl
Go to the documentation of this file.
1 /*
2  *=BEGIN SONGBIRD GPL
3  *
4  * This file is part of the Songbird web player.
5  *
6  * Copyright(c) 2005-2010 POTI, Inc.
7  * http://www.songbirdnest.com
8  *
9  * This file may be licensed under the terms of of the
10  * GNU General Public License Version 2 (the ``GPL'').
11  *
12  * Software distributed under the License is distributed
13  * on an ``AS IS'' basis, WITHOUT WARRANTY OF ANY KIND, either
14  * express or implied. See the GPL for the specific language
15  * governing rights and limitations.
16  *
17  * You should have received a copy of the GPL along with this
18  * program. If not, go to http://www.gnu.org/licenses/gpl.html
19  * or write to the Free Software Foundation, Inc.,
20  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21  *
22  *=END SONGBIRD GPL
23  */
24 
25 #include "nsISupports.idl"
26 
27 interface nsISimpleEnumerator;
28 
33 [scriptable, uuid(cade6495-1f83-4497-b2ec-347fe090d018)]
35 {
39  readonly attribute AString deviceFriendlyName;
40 
44  readonly attribute unsigned long deviceVendorID;
45 
51 
55  void init(in AString aDeviceName,
56  in unsigned long aVendorID,
57  in nsISimpleEnumerator aDeviceProductIDs);
58 
62  void simpleInit(in AString aDeviceName,
63  in unsigned long aVendorID,
64  in unsigned long aProductID);
65 
69  void appendProductID(in unsigned long aProductID);
70 };
readonly attribute nsISimpleEnumerator deviceProductIDs
The USB Product IDs.
void simpleInit(in AString aDeviceName, in unsigned long aVendorID, in unsigned long aProductID)
Simple version of init.
void appendProductID(in unsigned long aProductID)
Append a supported device product id.
var uuid
readonly attribute AString deviceFriendlyName
Friendly Human Readable Name.
void init(in AString aDeviceName, in unsigned long aVendorID, in nsISimpleEnumerator aDeviceProductIDs)
Initialize the object.
readonly attribute unsigned long deviceVendorID
The USB Vendor ID.