]> git.sesse.net Git - vlc/commitdiff
- make sure help string for propget and propput properties are identical + a couple...
authorDamien Fouilleul <damienf@videolan.org>
Sun, 2 Apr 2006 18:29:08 +0000 (18:29 +0000)
committerDamien Fouilleul <damienf@videolan.org>
Sun, 2 Apr 2006 18:29:08 +0000 (18:29 +0000)
- commit output of MIDL compilation otherwise changes don't make it into the build

activex/axvlc.idl
activex/axvlc.tlb
activex/axvlc_idl.c
activex/axvlc_idl.h

index a4bd0908fbf3268ea21bcbee8ccb56e24afd2763..9f55ba495626e2505dc51fd3e7ea98cfb1dcde62 100644 (file)
@@ -71,9 +71,9 @@ library AXVLC
     ]\r
     interface IVLCControl : IDispatch\r
     {\r
-        [id(DISPID_Visible), propget, bindable, helpstring("Returns plugin visibility.")]\r
+        [id(DISPID_Visible), propget, bindable, helpstring("Returns/sets a value that determines whether viewing area is visible or hidden.")]\r
         HRESULT Visible([out, retval] VARIANT_BOOL* visible);\r
-       [id(DISPID_Visible), propput, bindable, helpstring("Sets plugin visibility.")]\r
+        [id(DISPID_Visible), propput, bindable, helpstring("Returns/sets a value that determines whether viewing area is visible or hidden.")]\r
         HRESULT Visible([in] VARIANT_BOOL visible);\r
         [helpstring("Play current target in playlist.")]\r
         HRESULT play();\r
@@ -81,37 +81,37 @@ library AXVLC
         HRESULT pause();\r
         [helpstring("Stop playback.")]\r
         HRESULT stop();\r
-        [id(DISPID_Playing), hidden, propget, helpstring("Returns whether VLC is playing.")]\r
+        [id(DISPID_Playing), hidden, propget, helpstring("Returns a value that determines whether VLC is currently playing.")]\r
         HRESULT Playing([out, retval] VARIANT_BOOL* isPlaying);\r
-       [id(DISPID_Position), propget, helpstring("Returns playback position within the current item.  Position is a relative value ranging from 0.0 to 1.0.")]\r
+        [id(DISPID_Position), propget, helpstring("Returns/sets playback position within the current item.  Position is a relative value ranging from 0.0 to 1.0.")]\r
         HRESULT Position([out, retval] float* position);\r
-       [id(DISPID_Position), propput, helpstring("Sets playback position within the current item.  Position is a relative value ranging from 0.0 to 1.0.")]\r
+        [id(DISPID_Position), propput, helpstring("Returns/sets playback position within the current item.  Position is a relative value ranging from 0.0 to 1.0.")]\r
         HRESULT Position([in] float position);\r
-       [id(DISPID_Time), propget, helpstring("Returns playback time relative to the start of the current item.")]\r
+        [id(DISPID_Time), propget, helpstring("Returns/sets playback time relative to the start of the current item.")]\r
         HRESULT Time([out, retval] int* seconds);\r
-       [id(DISPID_Time), propput, helpstring("Sets playback time relative to the start of the current item.")]\r
+        [id(DISPID_Time), propput, helpstring("Returns/sets playback time relative to the start of the current item.")]\r
         HRESULT Time([in] int seconds);\r
-       [helpstring("Advance or backtrack playback time, relative to current time.")]  //possibly find a better word to replace 'backtrack' [t]\r
+        [helpstring("Advance or backtrack playback time, relative to current time.")]  //possibly find a better word to replace 'backtrack' [t]\r
         HRESULT shuttle([in] int seconds);\r
-       [helpstring("Switch video between normal and fullscreen view modes.")]\r
+        [helpstring("Switch video between normal and fullscreen view modes.")]\r
         HRESULT fullscreen();\r
-       [id(DISPID_Length), propget, hidden, helpstring("Returns the total length, in seconds, of the current item, may be unknown.")]\r
+        [id(DISPID_Length), propget, hidden, helpstring("Returns the total length, in seconds, of the current item, may be unknown.")]\r
         HRESULT Length([out, retval] int* seconds);\r
-       [helpstring("Increases playback speed.  Possible speeds are: 1x, 2x, 4x, 8x.")]\r
+        [helpstring("Increases playback speed. Possible speeds are: 1x, 2x, 4x, 8x.")]\r
         HRESULT playFaster();\r
-       [helpstring("Decreases playback speed.  Possible speeds are: 1x, 2x, 4x, 8x.")]\r
+        [helpstring("Decreases playback speed. Possible speeds are: 1x, 2x, 4x, 8x.")]\r
         HRESULT playSlower();\r
-       id(DISPID_Volume), propget, helpstring("Returns playback volume, ranges from 0 to 200%.")]  //possibly remove % from 'ranges', change to 'values', and specify that 200 is equivilant to 200% (remember, 200% == 2.0, but this gets an int not a float) [t]\r
+        [id(DISPID_Volume), propget, helpstring("Returns/sets playback volume, ranges from 0 to 200%.")]  //possibly remove % from 'ranges', change to 'values', and specify that 200 is equivilant to 200% (remember, 200% == 2.0, but this gets an int not a float) [t]\r
         HRESULT Volume([out, retval] int* volume);\r
-       [id(DISPID_Volume), propput, helpstring("Sets playback volume, ranges from 0 to 200%.")]\r
+        [id(DISPID_Volume), propput, helpstring("Returns/sets playback volume, ranges from 0 to 200%.")]\r
         HRESULT Volume([in] int volume);\r
-       [helpstring("Mute/unmute playback audio.")]\r
+        [helpstring("Mute/unmute playback audio.")]\r
         HRESULT toggleMute();\r
-       [helpstring("Set a value for a VLC variable.")]\r
+        [helpstring("Sets the value of a VLC variable.")]\r
         HRESULT setVariable([in] BSTR name, [in] VARIANT value);\r
-        [helpstring("Retrieve the value of a VLC variable.")]\r
+        [helpstring("Returns the value of a VLC variable.")]\r
         HRESULT getVariable([in] BSTR name, [out, retval] VARIANT *value);\r
-       [helpstring("Add an item to the playlist.")]\r
+        [helpstring("Add an item to the playlist.")]\r
 \r
 /*\r
 ** use VARIANT rather than a SAFEARRAY as argument type\r
@@ -131,17 +131,17 @@ library AXVLC
         HRESULT playlistClear();\r
         [propget, hidden, helpstring("Returns VLC Version.")]\r
         HRESULT VersionInfo([out, retval] BSTR* version);\r
-       [id(DISPID_MRL), propget, helpstring("Returns the first MRL in the playlist")]\r
+        [id(DISPID_MRL), propget, helpstring("Returns/sets the first MRL in playlist, used for AutoPlay")]\r
         HRESULT MRL([out, retval] BSTR* mrl);\r
-        [id(DISPID_MRL), propput, helpstring("Sets the first MRL in the playlist")]\r
+        [id(DISPID_MRL), propput, helpstring("Returns/sets the first MRL in playlist, used for AutoPlay")]\r
         HRESULT MRL([in] BSTR mrl);\r
-        [id(DISPID_AutoPlay), propget, helpstring("Sets whether playlist is played on startup")]\r
+        [id(DISPID_AutoPlay), propget, helpstring("Returns/sets a value that determines whether the playlist is played on startup")]\r
         HRESULT AutoPlay([out, retval] VARIANT_BOOL* autoplay);\r
-        [id(DISPID_AutoPlay), propput, helpstring("Returns whether playlist is played on startup")]\r
+        [id(DISPID_AutoPlay), propput, helpstring("Returns/Sets a value that determines whether the playlist is played on startup")]\r
         HRESULT AutoPlay([in] VARIANT_BOOL autoplay);\r
-        [id(DISPID_AutoLoop), propget, helpstring("Sets whether playlist is looped")]\r
+        [id(DISPID_AutoLoop), propget, helpstring("Returns/sets a value that determines whether the playlist is looped")]\r
         HRESULT AutoLoop([out, retval] VARIANT_BOOL* autoloop);\r
-        [id(DISPID_AutoLoop), propput, helpstring("Returns whether playlist is looped")]\r
+        [id(DISPID_AutoLoop), propput, helpstring("Returns/sets a value that determines whether the playlist is looped")]\r
         HRESULT AutoLoop([in] VARIANT_BOOL autoloop);\r
     };\r
 \r
index 5662fc673ac8ac4eaeb566ed8bdec6123030064f..0aff1ce47703183f35600bed0dd7de52457308df 100644 (file)
Binary files a/activex/axvlc.tlb and b/activex/axvlc.tlb differ
index e9905640f9bf73dc1fbeda9673ffb68f93d92959..0abe27bc7cfda98c2344cef97044ab1848770a22 100644 (file)
@@ -5,7 +5,7 @@
 
 
 /* File created by MIDL compiler version 5.01.0164 */
-/* at Sun Aug 21 17:16:22 2005
+/* at Sun Apr 02 19:22:45 2006
  */
 /* Compiler settings for axvlc.idl:
     Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
index 589c2f6beb9a5acac366a511174c7eaf033e6a2b..518e2cd11aef1228145a6dd90f7a4affa478acf5 100644 (file)
@@ -2,7 +2,7 @@
 
 
 /* File created by MIDL compiler version 5.01.0164 */
-/* at Sun Aug 21 17:16:22 2005
+/* at Sun Apr 02 19:22:45 2006
  */
 /* Compiler settings for axvlc.idl:
     Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext