[vlc-commits] Update workarounds for incomplete mingw headers

Rafaël Carré git at videolan.org
Wed Feb 1 10:18:54 CET 2012


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Wed Feb  1 02:48:48 2012 -0500| [9394c716596cdbcd91d483376f4cfbc936ddfa63] | 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.

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

 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.git/?a=commitdiff;h=9394c716596cdbcd91d483376f4cfbc936ddfa63


More information about the vlc-commits mailing list