mpris: do not support mpris on Windows

Summary: mpris is a Unix dbus tech, there is no such thing on Windows

Test Plan: compilation and launch rage --> no more eldbus error messages :)

Reviewers: raster

Subscribers: netstar, raster

Tags: #rage

Differential Revision: https://phab.enlightenment.org/D12255
v-0.4.0
parent d682faf9b6
commit ecaccef008
  1. 48
      src/bin/mpris.c

@ -1,4 +1,8 @@
#include <Elementary.h>
/* no mpris support on Windows */
#ifndef _WIN32
#include "main.h"
#include "win.h"
#include "browser.h"
@ -1140,3 +1144,47 @@ mpris_shutdown(void)
// eldbus_connection_unref(conn);
conn = NULL;
}
#else
void
mpris_fullscreen_change(void)
{
}
void
mpris_volume_change(void)
{
}
void
mpris_loop_status_change(void)
{
}
void
mpris_playback_status_change(void)
{
}
void
mpris_position_change(double pos EINA_UNUSED)
{
}
void
mpris_metadata_change(void)
{
}
void
mpris_init(Evas_Object *win EINA_UNUSED)
{
}
void
mpris_shutdown(void)
{
}
#endif

Loading…
Cancel
Save