Commit cf249e3a authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

mediacontrol: include vlc_common and fix ABI (= avoid bool)

parent 6349569e
......@@ -38,9 +38,9 @@ extern "C" {
#if defined( WIN32 )
#include <windows.h>
#define WINDOWHANDLE HWND
typedef HWND WINDOWHANDLE;
#else
#define WINDOWHANDLE int
typedef int WINDOWHANDLE;
#endif
#include <vlc/libvlc.h>
......@@ -286,7 +286,7 @@ VLC_PUBLIC_API void mediacontrol_sound_set_volume( mediacontrol_Instance *self,
* \param visual_id the Xid or HWND, depending on the platform
* \param exception an initialized exception pointer
*/
VLC_PUBLIC_API bool mediacontrol_set_visual( mediacontrol_Instance *self,
VLC_PUBLIC_API int mediacontrol_set_visual( mediacontrol_Instance *self,
WINDOWHANDLE visual_id,
mediacontrol_Exception *exception );
......
......@@ -270,7 +270,7 @@ mediacontrol_sound_set_volume( mediacontrol_Instance *self,
HANDLE_LIBVLC_EXCEPTION_VOID( &ex );
}
bool mediacontrol_set_visual( mediacontrol_Instance *self,
int mediacontrol_set_visual( mediacontrol_Instance *self,
WINDOWHANDLE visual_id,
mediacontrol_Exception *exception )
{
......
......@@ -25,10 +25,10 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc/mediacontrol.h>
#include <vlc/libvlc.h>
#include <vlc_common.h>
#include <vlc_interface.h>
#include <vlc_playlist.h>
......
......@@ -26,8 +26,8 @@
#endif
#include <vlc/mediacontrol.h>
#include <vlc/libvlc.h>
#include <vlc_common.h>
#include <vlc_vout.h>
#include <vlc_osd.h>
#include "mediacontrol_internal.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment