]> git.sesse.net Git - vlc/blobdiff - activex/axvlc.idl
Qt4 - cleanup.
[vlc] / activex / axvlc.idl
index 8faef08c2e04fb5b03884a7fe7571e507bfba3b4..a0edad41e4bdbdc4353a81e7af6797689b59d45a 100644 (file)
@@ -4,6 +4,7 @@
  * Copyright (C) 2006 the VideoLAN team\r
  *\r
  * Authors: Damien Fouilleul <Damien.Fouilleul@laposte.net>\r
+ *          Jean-Paul Saman <jpsaman _at_ m2x _dot_ nl>\r
  *\r
  * This program is free software; you can redistribute it and/or modify\r
  * it under the terms of the GNU General Public License as published by\r
@@ -23,7 +24,7 @@
 //comments terminated by [t] are by tonsofpcs, regarding the string review.  April 02, 2006. [t]\r
 //Possibly change all instances of "the current playlist" to "the playlist" and "current playlist" to "the playlist" [t]\r
 \r
-import "oaidl.idl";\r
+import "ocidl.idl";\r
 \r
 [\r
   uuid(DF2BBE39-40A8-433b-A279-073F48DA94B6),\r
@@ -62,6 +63,8 @@ library AXVLC
     const int VLCPlayListEnd    = -666;\r
 \r
     // DISPID definitions\r
+    const int DISPID_BackColor  = -501;\r
+\r
     const int DISPID_Visible    = 100;\r
     const int DISPID_Playing    = 101;\r
     const int DISPID_Position   = 102;\r
@@ -198,6 +201,16 @@ library AXVLC
 \r
         [helpstring("Mute/unmute audio playback.")]\r
         HRESULT toggleMute();\r
+\r
+        [propget, helpstring("Returns/sets audio track used/to use.")]\r
+        HRESULT track([out, retval] long* track);\r
+        [propput, helpstring("Returns/sets audio track used/to use.")]\r
+        HRESULT track([in] long track);\r
+\r
+        [propget, helpstring("Returns audio channel [1-5] indicating; stereo, reverse stereo, left, right, dolby.")]\r
+        HRESULT channel([out, retval] long* channel);\r
+        [propput, helpstring("Sets audio channel to [1-5] indicating; stereo, reverse stereo, left, right, dolby.")]\r
+        HRESULT channel([in] long channel);\r
     };\r
 \r
     [\r
@@ -411,8 +424,26 @@ library AXVLC
         [propput, helpstring("Sets video aspect ratio.")]\r
         HRESULT aspectRatio([in] BSTR aspect);\r
 \r
+        [propget, helpstring("Returns video subtitle used.")]\r
+        HRESULT subtitle([out, retval] long* spu);\r
+        [propput, helpstring("Sets video subtitle to use.")]\r
+        HRESULT subtitle([in] long spu);\r
+\r
+        [propget, helpstring("Returns crop filter geometry.")]\r
+        HRESULT crop([out, retval] BSTR* geometry);\r
+        [propput, helpstring("Sets crop filter geometry.")]\r
+        HRESULT crop([in] BSTR geometry);\r
+\r
+        [propget, helpstring("Returns teletext page used.")]\r
+        HRESULT subtitle([out, retval] long* page);\r
+        [propput, helpstring("Sets teletext page to use.")]\r
+        HRESULT subtitle([in] long page);\r
+\r
         [helpstring("toggle fullscreen/windowed state.")]\r
         HRESULT toggleFullscreen();\r
+\r
+        [helpstring("take video snapshot and save it into picture object.")]\r
+        HRESULT takeSnapshot([out, retval] IPictureDisp** picture);\r
     };\r
 \r
     [\r
@@ -462,6 +493,11 @@ library AXVLC
         [id(DISPID_Volume), propput, helpstring("Returns/sets default audio volume.")]\r
         HRESULT Volume([in] long volume);\r
 \r
+        [id(DISPID_BackColor), propget, helpstring("Returns/sets background color.")]\r
+        HRESULT BackColor([out, retval] OLE_COLOR* backcolor);\r
+        [id(DISPID_BackColor), propput, helpstring("Returns/sets background color.")]\r
+        HRESULT BackColor([in] OLE_COLOR backcolor);\r
+\r
         [propget, helpstring("Returns the audio object.")]\r
         HRESULT audio([out, retval] IVLCAudio** obj);\r
 \r