sbIDeviceServicePaneService.idl
Go to the documentation of this file.
1 /* vim: ts=2 sw=2 expandtab
2 /*
3  *=BEGIN SONGBIRD GPL
4  *
5  * This file is part of the Songbird web player.
6  *
7  * Copyright(c) 2005-2010 POTI, Inc.
8  * http://www.songbirdnest.com
9  *
10  * This file may be licensed under the terms of of the
11  * GNU General Public License Version 2 (the ``GPL'').
12  *
13  * Software distributed under the License is distributed
14  * on an ``AS IS'' basis, WITHOUT WARRANTY OF ANY KIND, either
15  * express or implied. See the GPL for the specific language
16  * governing rights and limitations.
17  *
18  * You should have received a copy of the GPL along with this
19  * program. If not, go to http://www.gnu.org/licenses/gpl.html
20  * or write to the Free Software Foundation, Inc.,
21  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22  *
23  *=END SONGBIRD GPL
24  */
25 
31 #include "nsISupports.idl"
32 
33 interface sbIServicePaneNode;
34 interface sbIDeviceBase;
35 interface sbIDevice;
36 interface sbILibrary;
37 
42 [scriptable, uuid(5d8f36c8-1dd2-11b2-8836-e909bccda487)]
43 interface sbIDeviceServicePaneService : nsISupports {
52  sbIServicePaneNode createNodeForDevice (in sbIDeviceBase aDevice,
53  in AString aDeviceIdentifier);
54 
64  sbIServicePaneNode createNodeForDevice2 (in sbIDevice aDevice,
65  in boolean aEjectable);
66 
75  sbIServicePaneNode createLibraryNodeForDevice(in sbIDevice aDevice,
76  in sbILibrary aLibrary);
77 
84  sbIServicePaneNode getNodeForDevice (in sbIDevice aDevice);
85 
94  void setFillDefaultContextMenu ( in sbIServicePaneNode aNode,
95  in boolean aEnabled);
96 
103  void insertChildByName ( in sbIDevice aDevice,
104  in sbIServicePaneNode aChildNode);
105 };
106 
var uuid
[SOON TO BE DEPRECATED AFTER 0.3] Base interface for all supported devices.
Media library abstraction.
Definition: sbILibrary.idl:82
The interface to interact with a particular node in the service pane.