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
00031 #include "nsISupports.idl"
00032
00033 interface nsIDOMXULElement;
00034
00039 [scriptable, uuid(7067ba5f-fce9-4d4e-9d79-c08c343ed4dd)]
00040 interface sbIGStreamerSimple : nsISupports
00041 {
00042 attribute AString uri;
00043 attribute double volume;
00044 readonly attribute unsigned long long position;
00045 readonly attribute boolean isPlaying;
00046 readonly attribute boolean isPaused;
00047 readonly attribute unsigned long long streamLength;
00048 readonly attribute boolean isAtEndOfStream;
00049
00050 void init(in nsIDOMXULElement aVideoOutput);
00051 void play();
00052 void pause();
00053 void stop();
00054 void seek(in unsigned long long aTimeNanos);
00055 };
00056
00057 %{C++
00058
00059 #define SBGSTREAMERSIMPLE_CID \
00060 { 0x7a36e062, 0x6d46, 0x4c80, \
00061 { 0xad, 0x48, 0x27, 0xc6, 0x24, 0x1e, 0x39, 0x15 } }
00062
00063 #define SBGSTREAMERSIMPLE_CONTRACTID "@songbirdnest.com/Songbird/Playback/GStreamer/Simple;1"
00064 #define SBGSTREAMERSIMPLE_CLASSNAME "GStreamerSimple"
00065 %}
00066