[vlc-devel] commit: Move Toolbar to the IVLCControl2 interface object, where it should have been all along. (Jean-Paul Saman )

git version control git at videolan.org
Sat Jun 14 11:05:46 CEST 2008


vlc | branch: master | Jean-Paul Saman <jpsaman at videolan.org> | Tue Jun 10 15:39:59 2008 +0200| [e5ff4e7a60e66465322c356392778a3593918b95]

Move Toolbar to the IVLCControl2 interface object, where it should have been all along.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e5ff4e7a60e66465322c356392778a3593918b95
---

 projects/activex/axvlc.idl |   20 +++++++++++---------
 1 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/projects/activex/axvlc.idl b/projects/activex/axvlc.idl
index 94dcaff..3965b52 100644
--- a/projects/activex/axvlc.idl
+++ b/projects/activex/axvlc.idl
@@ -134,15 +134,6 @@ library AXVLC
 ** for compatibility with some scripting language (JScript)
 */
 
-        /*
-         * caution: vlcobject.toolbar:bool does not yet exists in Firefox
-         * plugin. Official usage is through "toolbar" property for now,
-         * which is compatibile with Firefox.
-         */
-        [id(DISPID_Toolbar), propget, helpstring("Returns/sets visibility of the toolbar")]
-        HRESULT Toolbar([out, retval] VARIANT_BOOL* visible);
-        [id(DISPID_Toolbar), propput, helpstring("Returns/sets visibility of the toolbar")]
-        HRESULT Toolbar([in] VARIANT_BOOL visible);
         HRESULT addTarget([in] BSTR uri, [in] VARIANT options, [in] enum VLCPlaylistMode mode, [in] int position);
         [propget, helpstring("Returns index of current item in playlist.")]
         HRESULT PlaylistIndex([out, retval] int* index);
@@ -420,6 +411,7 @@ library AXVLC
     {
         [propget, helpstring("Returns/sets the fullscreen state.")]
         HRESULT fullscreen([out, retval] VARIANT_BOOL* fullscreen);
+
         [propput, helpstring("Returns/sets the fullscreen state.")]
         HRESULT fullscreen([in] VARIANT_BOOL fullscreen);
 
@@ -511,6 +503,16 @@ library AXVLC
         [id(DISPID_BackColor), propput, helpstring("Returns/sets background color.")]
         HRESULT BackColor([in] OLE_COLOR backcolor);
 
+        /*
+         * caution: vlcobject.toolbar:bool does not yet exists in Firefox
+         * plugin. Official usage is through "toolbar" property for now,
+         * which is compatibile with Firefox.
+         */
+        [id(DISPID_Toolbar), propget, helpstring("Returns/sets visibility of the toolbar")]
+        HRESULT Toolbar([out, retval] VARIANT_BOOL* visible);
+        [id(DISPID_Toolbar), propput, helpstring("Returns/sets visibility of the toolbar")]
+        HRESULT Toolbar([in] VARIANT_BOOL visible);
+
         [propget, helpstring("Returns the audio object.")]
         HRESULT audio([out, retval] IVLCAudio** obj);
 




More information about the vlc-devel mailing list