Menu
Home
Blog
Add-ons
Forum
Wiki
Developers
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
components
devices
base
public
sbIDeviceCapsCompatibility.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-2009 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
30
#include "nsISupports.idl"
31
32
interface
sbIDeviceCapabilities
;
33
interface
sbIMediaFormat
;
34
40
[scriptable,
uuid
(82bf1267-7a96-4f83-97b6-32faa64f3325)]
41
interface
sbIDeviceCapsCompatibility
:
nsISupports
42
{
51
void
initialize
(in
sbIDeviceCapabilities
aDeviceCapabilities,
52
in
sbIMediaFormat
aMediaFormat,
53
in
unsigned
long
aContentType);
54
61
boolean
compare
();
62
};
63
64
%{
C
++
65
#define SONGBIRD_DEVICECAPSCOMPATIBILITY_DESCRIPTION \
66
"Songbird Device Capabilities Compatibility Component"
67
#define SONGBIRD_DEVICECAPSCOMPATIBILITY_CONTRACTID \
68
"@songbirdnest.com/Songbird/Device/DeviceCapsCompatibility;1"
69
#define SONGBIRD_DEVICECAPSCOMPATIBILITY_CLASSNAME \
70
"Songbird Device Capabilities"
71
#define SONGBIRD_DEVICECAPSCOMPATIBILITY_CID \
72
{
/* e8717123-1bb2-4ca5-a442-7e8424fbdb49 */
\
73
0xe8717123, \
74
0x1bb2, \
75
0x4ca5, \
76
{0xa4, 0x42, 0x7e, 0x84, 0x24, 0xfb, 0xdb, 0x49} \
77
}
78
%}
sbIDeviceCapabilities
[UNIMPLEMENTED UNTIL AFTER 0.3]
Definition:
sbIDeviceCapabilities.idl:527
uuid
var uuid
Definition:
jquery-1.2.6.min.js:18
sbIMediaFormat
Definition:
sbIMediaInspector.idl:174
C
function C(H)
Definition:
mootools-1.2-core.js:208
sbIDeviceCapsCompatibility::initialize
void initialize(in sbIDeviceCapabilities aDeviceCapabilities, in sbIMediaFormat aMediaFormat, in unsigned long aContentType)
Initializes the device capabilities, media format and media content type of the form sbIDeviceCapabil...
sbIDeviceCapsCompatibility
This service determines if a media file is compatible with a particular device.
Definition:
sbIDeviceCapsCompatibility.idl:41
sbIDeviceCapsCompatibility::compare
boolean compare()
Compare the media file format with device capabilities to determine whether they are compatible...
nsISupports
nsISupports
Definition:
sbRemoteIndexedMediaItem.cpp:61