sbIMediacoreFactoryWrapper.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 #include "sbIMediacoreFactory.idl"
27 
28 interface sbIMediacoreCapabilities;
30 
36 [scriptable, function, uuid(46c08c8c-da2f-476c-9c63-54a1b8e2f9be)]
38 {
43  sbIMediacore onCreate(in AString aInstanceName);
44 };
45 
52 [scriptable, uuid(f69c91e4-fee3-48f4-a95a-93d61eea091a)]
54 {
58  void initialize(in AString aFactoryName,
59  in AString aContractID,
60  in sbIMediacoreCapabilities aCapabilities,
62 };
63 
64 %{C++
65 
66 #define SB_MEDIACOREFACTORYWRAPPER_DESCRIPTION \
67  "Songbird Mediacore Factory Wrapper"
68 #define SB_MEDIACOREFACTORYWRAPPER_CONTRACTID \
69  "@songbirdnest.com/Songbird/Mediacore/FactoryWrapper;1"
70 #define SB_MEDIACOREFACTORYWRAPPER_CLASSNAME \
71  "sbMediacoreFactoryWrapper"
72 #define SB_MEDIACOREFACTORYWRAPPER_CID \
73  { 0xfd7bc5aa, 0xa1b1, 0x4765, { 0xb7, 0x78, 0xca, 0xce, 0xdb, 0x31, 0x8e, 0x2b } }
74 
75 %};
sbIMediacore onCreate(in AString aInstanceName)
Create an instance of a Mediacore using aInstanceName as the name of the instance.
Factory Wrapper Interface for use by JavaScript implementations of Mediacores.
var uuid
function C(H)
Factory Wrapper Listener Interface for use by JavaScript implementations of Mediacores.
void initialize(in AString aFactoryName, in AString aContractID, in sbIMediacoreCapabilities aCapabilities, in sbIMediacoreFactoryWrapperListener aListener)
Initialize the Mediacore Factory Wrapper.