C:/projects/songbird/components/mediacore/playback/gstreamer/public/sbIGStreamerSimple.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© 2006 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  */
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 // {7a36e062-6d46-4c80-ad48-27c6241e3915}
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 

Generated on Mon Aug 21 21:01:55 2006 for Songbird by  doxygen 1.4.7