sbIMediacoreCapabilities.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 
27 interface nsIStringEnumerator;
28 
29 [scriptable, uuid(937f3e19-f9ef-4d7c-9afa-7e388338954e)]
31 {
44 
45  // XXXAus: Encoders? Formats supported FourCC? MIME Type? I have no idea.
46  // We'll figure out what to do for that stuff when we get to
47  // encoding/transcoding
48 
52  readonly attribute boolean supportsAudioPlayback;
56  readonly attribute boolean supportsVideoPlayback;
60  readonly attribute boolean supportsImagePlayback;
61 
65  readonly attribute boolean supportsAudioTranscode;
69  readonly attribute boolean supportsVideoTranscode;
73  readonly attribute boolean supportsImageTranscode;
74 
75 };
76 
77 %{C++
78 
79 #define SB_MEDIACORE_CAPABILITIES_DESCRIPTION \
80  "Songbird Mediacore Capabilities"
81 #define SB_MEDIACORE_CAPABILITIES_CONTRACTID \
82  "@songbirdnest.com/Songbird/Mediacore/Capabilities;1"
83 #define SB_MEDIACORE_CAPABILITIES_CLASSNAME \
84  "sbMediacoreCapabilities"
85 #define SB_MEDIACORE_CAPABILITIES_CID \
86  { 0x938bbc3d, 0x5c03, 0x4744, { 0xac, 0x2f, 0x20, 0x22, 0xbd, 0xdb, 0x2, 0x19 } }
87 
88 %};
readonly attribute boolean supportsVideoTranscode
Supports transcoding video?
readonly attribute boolean supportsImageTranscode
Supports transcoding images?
readonly attribute boolean supportsImagePlayback
Supports image playback?
readonly attribute nsIStringEnumerator videoExtensions
Video file extensions (eg. avi, mpg, mov, ...)
readonly attribute nsIStringEnumerator imageExtensions
Image file extensions (eg. jpg, tiff, png, ...)
readonly attribute boolean supportsAudioTranscode
Supports transcoding audio?
readonly attribute nsIStringEnumerator audioExtensions
Audio file extensions (eg. mp3, aac, m4a, ...)
var uuid
function C(H)
readonly attribute boolean supportsAudioPlayback
Supports audio playback?
readonly attribute boolean supportsVideoPlayback
Supports video playback?