sbITranscodeManager.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 "sbITranscodeJob.idl"
27 
28 interface nsIArray;
29 interface sbIMediaItem;
30 
38 [scriptable, uuid(db1af2f9-d644-46ec-8561-3e8c2af97172)]
40 {
54 
61  nsIArray getTranscodeProfiles(in unsigned long aType);
62 
63 };
64 
65 %{C++
66 
67 #define SONGBIRD_TRANSCODEMANAGER_CONTRACTID \
68  "@songbirdnest.com/Songbird/Mediacore/TranscodeManager;1"
69 #define SONGBIRD_TRANSCODEMANAGER_CLASSNAME \
70  "Songbird Transcode Manager Interface"
71 #define SONGBIRD_TRANSCODEMANAGER_CID \
72 { /* 5aa13c5f-2ee9-45f4-95ea-53d985693baf */ \
73  0x5aa13c5f, \
74  0x2ee9, \
75  0x45f4, \
76  {0x95, 0xea, 0x53, 0xd9, 0x85, 0x69, 0x3b, 0xaf} \
77 }
78 
79 %}C++
80 
nsIArray getTranscodeProfiles(in unsigned long aType)
Get an array of all the sbITranscodeProfiles available and usable.
nsISupports getTranscoderForMediaItem(in sbIMediaItem aMediaItem)
Request a transcoding job.
var uuid
function C(H)
An interface for transcoding media streams.
Interface that defines a single item of media in the system.
The manager from which to request a transcoding job, transcoding profiles, etc.