summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2006-11-01 19:28:22 +0000
committerMarcel Holtmann <marcel@holtmann.org>2006-11-01 19:28:22 +0000
commitbef08ffc47e9d6de61ea138d46291e5e129ea541 (patch)
tree355d556add12b00d3fcfb55ec5e7a0207e48fdf7
parentecb1074955335581a10f19a9b5cda4686e83d242 (diff)
Update echo service to match the changed specification
-rw-r--r--daemon/echo.c10
-rw-r--r--daemon/service-agent.xml8
2 files changed, 0 insertions, 18 deletions
diff --git a/daemon/echo.c b/daemon/echo.c
index f5e6c2b0..5a88ce79 100644
--- a/daemon/echo.c
+++ b/daemon/echo.c
@@ -89,11 +89,6 @@ static ServiceAgent *service_agent_new(const char *path)
return agent;
}
-static gboolean service_agent_interfaces(ServiceAgent *agent, GError **error)
-{
- return FALSE;
-}
-
static gboolean session_event(GIOChannel *chan, GIOCondition cond, gpointer data)
{
unsigned char buf[672];
@@ -194,11 +189,6 @@ static gboolean service_agent_stop(ServiceAgent *agent,
return TRUE;
}
-static gboolean service_agent_record(ServiceAgent *agent, GError **error)
-{
- return FALSE;
-}
-
static gboolean service_agent_release(ServiceAgent *agent, GError **error)
{
if (agent->server) {
diff --git a/daemon/service-agent.xml b/daemon/service-agent.xml
index 0feabe47..0e5b80f9 100644
--- a/daemon/service-agent.xml
+++ b/daemon/service-agent.xml
@@ -2,10 +2,6 @@
<node name="/">
<interface name="org.bluez.ServiceAgent">
- <method name="Interfaces">
- <arg type="as" direction="out"/>
- </method>
-
<method name="Start">
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
</method>
@@ -14,10 +10,6 @@
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
</method>
- <method name="Record">
- <arg type="s" direction="out"/>
- </method>
-
<method name="Release">
</method>
</interface>