From e5ff4e7a60e66465322c356392778a3593918b95 Mon Sep 17 00:00:00 2001 From: Jean-Paul Saman Date: Tue, 10 Jun 2008 15:39:59 +0200 Subject: [PATCH] Move Toolbar to the IVLCControl2 interface object, where it should have been all along. --- projects/activex/axvlc.idl | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/projects/activex/axvlc.idl b/projects/activex/axvlc.idl index 94dcaff492..3965b5270d 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); -- 2.39.2