[vlc-commits] Update workarounds for incomplete mingw headers
Rafaël Carré
git at videolan.org
Wed Apr 18 22:39:53 CEST 2012
vlc/vlc-2.0 | branch: master | Rafaël Carré <funman at videolan.org> | Wed Feb 1 02:48:48 2012 -0500| [296fdee965379a4d1255d6f113a8aeffa4fbed45] | committer: Rafaël Carré
Update workarounds for incomplete mingw headers
The so-called "Vista/7 helpers" only define interfaces missing from mingw*
Remove duplicate declarations already in all mingw headers, include the
correct headers instead.
Link video outputs against libuuid to get the existing UUID instead of
defining our own.
Define the C interfaces as Microsoft does it by using lpVtbl for the
virtual table pointer.
See http://blogs.msdn.com/b/oldnewthing/archive/2004/02/05/68017.aspx
Define a C++ interface to TaskbarList3 for qt4, keep the C for video outputs.
Define only a C++ interface to IApplicationAssociationRegistrationUI
Define TaskbarList3->SetTabActive() correctly.
See http://msdn.microsoft.com/en-us/library/windows/desktop/dd391699(v=vs.85).aspx
ifdef the TaskbarList3 interface because mingw-w64 defines it already.
(cherry picked from commit 9394c716596cdbcd91d483376f4cfbc936ddfa63)
Signed-off-by: Rafaël Carré <funman at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=296fdee965379a4d1255d6f113a8aeffa4fbed45
---
configure.ac | 4 +-
include/vlc_windows_interfaces.h | 253 ++++++++++++---------
modules/gui/qt4/components/simple_preferences.cpp | 6 +-
modules/gui/qt4/main_interface.cpp | 2 +-
modules/gui/qt4/main_interface.hpp | 2 +-
modules/gui/qt4/main_interface_win32.cpp | 14 +-
modules/video_output/msw/common.c | 10 +-
7 files changed, 169 insertions(+), 122 deletions(-)
Diff: http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commitdiff;h=296fdee965379a4d1255d6f113a8aeffa4fbed45
More information about the vlc-commits
mailing list