aboutsummaryrefslogtreecommitdiff
path: root/src/ZeroconfAvahi.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-27 22:53:21 +0100
committerMax Kellermann <max@duempel.org>2013-01-27 22:53:21 +0100
commit2cbe21c791aeb28c61a26a6ff447ba2089f58181 (patch)
tree403beae3db829f83fc0a7a019058c78f14ed50e0 /src/ZeroconfAvahi.hxx
parent0988056471fefa2ee195a170dcf57771e7926a08 (diff)
ZeroconfAvahi: pass GMainContext to avahi_glib_poll_new()
Diffstat (limited to 'src/ZeroconfAvahi.hxx')
-rw-r--r--src/ZeroconfAvahi.hxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ZeroconfAvahi.hxx b/src/ZeroconfAvahi.hxx
index 2db2523c..bb046350 100644
--- a/src/ZeroconfAvahi.hxx
+++ b/src/ZeroconfAvahi.hxx
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003-2011 The Music Player Daemon Project
+ * Copyright (C) 2003-2013 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
@@ -20,8 +20,10 @@
#ifndef MPD_ZEROCONF_AVAHI_HXX
#define MPD_ZEROCONF_AVAHI_HXX
+class EventLoop;
+
void
-AvahiInit(const char *service_name);
+AvahiInit(EventLoop &loop, const char *service_name);
void
AvahiDeinit();