sbIGStreamerService.idl
Go to the documentation of this file.
1 /*
2 //
3 // BEGIN SONGBIRD GPL
4 //
5 // This file is part of the Songbird web player.
6 //
7 // Copyright(c) 2005-2008 POTI, Inc.
8 // http://songbirdnest.com
9 //
10 // This file may be licensed under the terms of of the
11 // GNU General Public License Version 2 (the "GPL").
12 //
13 // Software distributed under the License is distributed
14 // on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either
15 // express or implied. See the GPL for the specific language
16 // governing rights and limitations.
17 //
18 // You should have received a copy of the GPL along with this
19 // program. If not, go to http://www.gnu.org/licenses/gpl.html
20 // or write to the Free Software Foundation, Inc.,
21 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22 //
23 // END SONGBIRD GPL
24 //
25 */
26 
31 #include "nsISupports.idl"
32 
33 [scriptable, uuid(880347ab-710f-426f-a57c-56e81fff3ee6)]
35 {
36  void beginInspect();
37  void endInspect();
38 
39  void beginPluginInfo(in ACString aName,
40  in ACString aDescription,
41  in ACString aFilename,
42  in ACString aVersion,
43  in ACString aLicense,
44  in ACString aSource,
45  in ACString aPackage,
46  in ACString aOrigin);
47 
48  void endPluginInfo();
49 
50  void beginFactoryInfo(in ACString aShortName,
51  in ACString aLongName,
52  in ACString aClass,
53  in ACString aDescription,
54  in ACString aAuthor,
55  in ACString aRankName,
56  in long aRank);
57  void endFactoryInfo();
58 
59  void beginPadTemplateInfo(in ACString aName,
60  in unsigned long aDirection,
61  in unsigned long aPresence,
62  in ACString aCodecDescription);
63  void endPadTemplateInfo();
64 };
65 
69 [scriptable, uuid(5be9dcac-c60a-46c9-90f5-cc9533d84179)]
71 {
72  const unsigned long PAD_DIRECTION_UNKNOWN = 0;
73  const unsigned long PAD_DIRECTION_SRC = 1;
74  const unsigned long PAD_DIRECTION_SINK = 2;
75 
76  const unsigned long PAD_PRESENCE_ALWAYS = 0;
77  const unsigned long PAD_PRESENCE_SOMETIMES = 1;
78  const unsigned long PAD_PRESENCE_REQUEST = 2;
79 
80  void inspect(in sbIGStreamerInspectHandler aHandler);
81 };
82 
83 %{C++
84 // {8cfebfa9-7cd3-4dd8-bf13-6ddc666d3629}
85 #define SBGSTREAMERSERVICE_CID \
86  { 0x8cfebfa9, 0x7cd3, 0x4dd8, \
87  { 0xbf, 0x13, 0x6d, 0xdc, 0x66, 0x6d, 0x36, 0x29 } }
88 
89 #define SBGSTREAMERSERVICE_CONTRACTID "@songbirdnest.com/Songbird/Mediacore/GStreamer/Service;1"
90 #define SBGSTREAMERSERVICE_CLASSNAME "GStreamerService"
91 %}
void inspect(in sbIGStreamerInspectHandler aHandler)
void beginPluginInfo(in ACString aName, in ACString aDescription, in ACString aFilename, in ACString aVersion, in ACString aLicense, in ACString aSource, in ACString aPackage, in ACString aOrigin)
const unsigned long PAD_PRESENCE_SOMETIMES
const unsigned long PAD_DIRECTION_SINK
const unsigned long PAD_PRESENCE_REQUEST
void beginFactoryInfo(in ACString aShortName, in ACString aLongName, in ACString aClass, in ACString aDescription, in ACString aAuthor, in ACString aRankName, in long aRank)
const unsigned long PAD_PRESENCE_ALWAYS
var uuid
function C(H)
const unsigned long PAD_DIRECTION_SRC
_updateCookies aName
void beginPadTemplateInfo(in ACString aName, in unsigned long aDirection, in unsigned long aPresence, in ACString aCodecDescription)
const unsigned long PAD_DIRECTION_UNKNOWN