Songbird / Development / Songbird Add-Ons API Documentation

components/mediacore/gstreamer/public/sbIGStreamerService.idl

Go to the documentation of this file.
00001 /*
00002 //
00003 // BEGIN SONGBIRD GPL
00004 //
00005 // This file is part of the Songbird web player.
00006 //
00007 // Copyright(c) 2005-2008 POTI, Inc.
00008 // http://songbirdnest.com
00009 //
00010 // This file may be licensed under the terms of of the
00011 // GNU General Public License Version 2 (the "GPL").
00012 //
00013 // Software distributed under the License is distributed
00014 // on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either
00015 // express or implied. See the GPL for the specific language
00016 // governing rights and limitations.
00017 //
00018 // You should have received a copy of the GPL along with this
00019 // program. If not, go to http://www.gnu.org/licenses/gpl.html
00020 // or write to the Free Software Foundation, Inc.,
00021 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
00022 //
00023 // END SONGBIRD GPL
00024 //
00025 */
00026 
00031 #include "nsISupports.idl"
00032 
00033 [scriptable, uuid(880347ab-710f-426f-a57c-56e81fff3ee6)]
00034 interface sbIGStreamerInspectHandler : nsISupports
00035 {
00036   void beginInspect();
00037   void endInspect();
00038 
00039   void beginPluginInfo(in ACString aName,
00040                        in ACString aDescription,
00041                        in ACString aFilename,
00042                        in ACString aVersion,
00043                        in ACString aLicense,
00044                        in ACString aSource,
00045                        in ACString aPackage,
00046                        in ACString aOrigin);
00047 
00048   void endPluginInfo();
00049 
00050   void beginFactoryInfo(in ACString aShortName,
00051                         in ACString aLongName,
00052                         in ACString aClass,
00053                         in ACString aDescription,
00054                         in ACString aAuthor,
00055                         in ACString aRankName,
00056                         in long aRank);
00057   void endFactoryInfo();
00058 
00059   void beginPadTemplateInfo(in ACString aName,
00060                             in unsigned long aDirection,
00061                             in unsigned long aPresence,
00062                             in ACString aCodecDescription);
00063   void endPadTemplateInfo();
00064 };
00065 
00069 [scriptable, uuid(5be9dcac-c60a-46c9-90f5-cc9533d84179)]
00070 interface sbIGStreamerService : nsISupports
00071 {
00072   const unsigned long PAD_DIRECTION_UNKNOWN = 0;
00073   const unsigned long PAD_DIRECTION_SRC     = 1;
00074   const unsigned long PAD_DIRECTION_SINK    = 2;
00075 
00076   const unsigned long PAD_PRESENCE_ALWAYS    = 0;
00077   const unsigned long PAD_PRESENCE_SOMETIMES = 1;
00078   const unsigned long PAD_PRESENCE_REQUEST   = 2;
00079 
00080   void inspect(in sbIGStreamerInspectHandler aHandler);
00081 };
00082 
00083 %{C++
00084 // {8cfebfa9-7cd3-4dd8-bf13-6ddc666d3629}
00085 #define SBGSTREAMERSERVICE_CID \
00086   { 0x8cfebfa9, 0x7cd3, 0x4dd8,                               \
00087   { 0xbf, 0x13, 0x6d, 0xdc, 0x66, 0x6d, 0x36, 0x29 } }
00088 
00089 #define SBGSTREAMERSERVICE_CONTRACTID "@songbirdnest.com/Songbird/Mediacore/GStreamer/Service;1"
00090 #define SBGSTREAMERSERVICE_CLASSNAME  "GStreamerService"
00091 %}

Generated on Tue Mar 10 14:28:55 2009 for Songbird by  doxygen 1.5.2