sbITranscodeError.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 nsIURI;
28 interface sbIMediaItem;
29 
30 [scriptable, uuid(1bc8ee84-1dd2-11b2-a317-cb97cfde203c)]
37  readonly attribute AString messageWithItem;
38 
45  readonly attribute AString messageWithoutItem;
46 
51  readonly attribute AString detail;
52 
56  attribute AString sourceUri;
57 
62 
66  attribute AString destUri;
67 
72 
76  void init(in AString aMessageWithItem,
77  in AString aMessageWithoutItem,
78  in AString aDetails);
79 };
84 [scriptable, function, uuid(9a8b39ba-1dd1-11b2-b816-c35ce7c2a3fe)]
86  void onTranscodeError(in sbITranscodeError error);
87 };
88 
89 %{C++
90 
91 #define SONGBIRD_TRANSCODEERROR_CONTRACTID \
92  "@songbirdnest.com/Songbird/Mediacore/TranscodeError;1"
93 
94 %}C++
attribute AString sourceUri
readonly attribute AString messageWithItem
var uuid
function C(H)
readonly attribute AString detail
attribute sbIMediaItem sourceItem
attribute sbIMediaItem destItem
Interface that defines a single item of media in the system.
void init(in AString aMessageWithItem, in AString aMessageWithoutItem, in AString aDetails)
attribute AString destUri
void onTranscodeError(in sbITranscodeError error)
readonly attribute AString messageWithoutItem