]> git.sesse.net Git - vlc/commit
Update workarounds for incomplete mingw headers
authorRafaël Carré <funman@videolan.org>
Wed, 1 Feb 2012 07:48:48 +0000 (02:48 -0500)
committerRafaël Carré <funman@videolan.org>
Wed, 1 Feb 2012 09:18:31 +0000 (04:18 -0500)
commit9394c716596cdbcd91d483376f4cfbc936ddfa63
tree0267b9b246e5789e55bfd078901c8f2f2b10870b
parentb178857361093686ff1844d8405f7560778e90f0
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.
configure.ac
include/vlc_windows_interfaces.h
modules/gui/qt4/components/simple_preferences.cpp
modules/gui/qt4/main_interface.cpp
modules/gui/qt4/main_interface.hpp
modules/gui/qt4/main_interface_win32.cpp
modules/video_output/msw/common.c