sbIMediacoreManager.idl
Go to the documentation of this file.
1 /*
2  //
3 // BEGIN SONGBIRD GPL
4 //
5 // This file is part of the Songbird web player.
6 //
7 // Copyright(c) 2005-2008 POTI, Inc.
8 // http://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  */
26 
27 #include "nsISupports.idl"
28 
29 interface nsIVariant;
30 
31 interface sbIMediacore;
32 interface sbIMediacoreError;
33 interface sbIMediacoreEvent;
36 
39 
40 interface sbIMediacoreCapabilities;
41 interface sbIMediacoreStatus;
42 
43 interface sbIMediacoreSequencer;
44 
45 interface sbIMediacoreVideoWindow;
46 
47 [scriptable, uuid(404c03dc-6553-4cf5-a356-fcee07ee0ab3)]
49 {
56  readonly attribute sbIMediacore primaryCore;
57 
60 
63 
65  readonly attribute sbIMediacoreStatus status;
66 
67  readonly attribute sbIMediacoreVideoWindow video;
68 
79 
94  getPrimaryVideoWindow(in boolean aCreate,
95  [optional] in unsigned long aWidthHint,
96  [optional] in unsigned long aHeightHint);
97 
115  sbIMediacoreEvent createEvent(in unsigned long aType,
116  in sbIMediacore aOrigin,
117  [optional] in nsIVariant aData,
118  [optional] in sbIMediacoreError aError);
119 };
120 
121 [uuid(f1a8315a-d745-49e4-bea7-01d66e914f43)]
123 {
124  void setPrimaryCore(in sbIMediacore aMediacore);
125 };
126 
127 %{C++
128 
129 #define SB_MEDIACOREMANAGER_DESCRIPTION \
130  "Songbird Mediacore Manager"
131 #define SB_MEDIACOREMANAGER_CONTRACTID \
132  "@songbirdnest.com/Songbird/Mediacore/Manager;1"
133 #define SB_MEDIACOREMANAGER_CLASSNAME \
134  "sbMediacoreManager"
135 #define SB_MEDIACOREMANAGER_CID \
136 { /*{47bb93c8-dba7-464b-8f93-8d71659ab127}*/ \
137  0x47bb93c8, \
138  0xdba7, \
139  0x464b, \
140  { 0x8f, 0x93, 0x8d, 0x71, 0x65, 0x9a, 0xb1, 0x27 } \
141 }
142 
143 %}
readonly attribute sbIMediacoreCapabilities capabilities
sbIMediacoreVideoWindow getPrimaryVideoWindow(in boolean aCreate, [optional] in unsigned long aWidthHint, [optional] in unsigned long aHeightHint)
readonly attribute sbIMediacoreMultibandEqualizer equalizer
readonly attribute sbIMediacoreStatus status
attribute sbIMediacoreSequencer sequencer
sbIMediacoreEvent createEvent(in unsigned long aType, in sbIMediacore aOrigin, [optional] in nsIVariant aData, [optional] in sbIMediacoreError aError)
readonly attribute sbIMediacoreBalanceControl balanceControl
var uuid
function C(H)
readonly attribute sbIMediacorePlaybackControl playbackControl
Definition of the sbIMediacoreEvent interface.
readonly attribute sbIMediacoreVideoWindow video
readonly attribute sbIMediacore primaryCore
void setPrimaryCore(in sbIMediacore aMediacore)
readonly attribute sbIMediacoreVolumeControl volumeControl
_updateTextAndScrollDataForFrame aData