00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
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
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 %}