Songbird / Development / Songbird Add-Ons API Documentation

components/mediacore/base/public/sbIMediacoreManager.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 nsIVariant;
00030 
00031 interface sbIMediacore;
00032 interface sbIMediacoreError;
00033 interface sbIMediacoreEvent;
00034 interface sbIMediacoreSimpleEqualizer;
00035 interface sbIMediacoreBalanceControl;
00036 
00037 interface sbIMediacorePlaybackControl;
00038 interface sbIMediacoreVolumeControl;
00039 
00040 interface sbIMediacoreCapabilities;
00041 interface sbIMediacoreStatus;
00042 
00043 interface sbIMediacoreSequencer;
00044 
00045 interface sbIMediacoreVideoWindow;
00046 
00047 [scriptable, uuid(83373eeb-72c7-4612-93eb-3ea6a0a84eb6)]
00048 interface sbIMediacoreManager : nsISupports
00049 {
00056   readonly attribute sbIMediacore primaryCore;
00057 
00058   readonly attribute sbIMediacoreBalanceControl  balanceControl;
00059   readonly attribute sbIMediacoreVolumeControl   volumeControl;
00060 
00061   readonly attribute sbIMediacoreSimpleEqualizer equalizer;
00062   readonly attribute sbIMediacorePlaybackControl playbackControl;
00063 
00064   readonly attribute sbIMediacoreCapabilities    capabilities;
00065   readonly attribute sbIMediacoreStatus          status;
00066 
00076   attribute sbIMediacoreSequencer sequencer;
00077 
00082   readonly attribute sbIMediacoreVideoWindow video;
00083 
00101   sbIMediacoreEvent createEvent(in unsigned long aType,
00102                                 in sbIMediacore aOrigin,
00103                                 [optional] in nsIVariant aData,
00104                                 [optional] in sbIMediacoreError aError);
00105 };
00106 
00107 [uuid(f1a8315a-d745-49e4-bea7-01d66e914f43)]
00108 interface sbPIMediacoreManager : nsISupports
00109 {
00110   void setPrimaryCore(in sbIMediacore aMediacore);
00111 };
00112 
00113 %{C++
00114 
00115 #define SB_MEDIACOREMANAGER_DESCRIPTION    \
00116   "Songbird Mediacore Manager"
00117 #define SB_MEDIACOREMANAGER_CONTRACTID     \
00118   "@songbirdnest.com/Songbird/Mediacore/Manager;1"
00119 #define SB_MEDIACOREMANAGER_CLASSNAME      \
00120   "sbMediacoreManager"
00121 #define SB_MEDIACOREMANAGER_CID               \
00122 { /*{47bb93c8-dba7-464b-8f93-8d71659ab127}*/  \
00123   0x47bb93c8,                                 \
00124   0xdba7,                                     \
00125   0x464b,                                     \
00126   { 0x8f, 0x93, 0x8d, 0x71, 0x65, 0x9a, 0xb1, 0x27 } \
00127 }
00128 
00129 %}

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