From 947e3b4734d79883d9e1436f2ec7e56b3051f566 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Tue, 9 Oct 2012 11:17:41 -0500 Subject: stktest: Add support for RequestConfirmation method --- tools/stktest.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tools') diff --git a/tools/stktest.c b/tools/stktest.c index 37f1c627..a304ee10 100644 --- a/tools/stktest.c +++ b/tools/stktest.c @@ -295,6 +295,7 @@ static DBusMessage *func(DBusConnection *conn, DBusMessage *msg, \ GET_INKEY_TEMPLATE(agent_request_key, "RequestKey") GET_INKEY_TEMPLATE(agent_request_digit, "RequestDigit") +GET_INKEY_TEMPLATE(agent_request_confirmation, "RequestConfirmation") static void server_debug(const char *str, void *data) { @@ -922,6 +923,10 @@ static const GDBusMethodTable agent_methods[] = { GDBUS_ARGS({ "alpha", "s" }, { "icon_id", "y" }), GDBUS_ARGS({ "key", "s" }), agent_request_key) }, + { GDBUS_ASYNC_METHOD("RequestConfirmation", + GDBUS_ARGS({ "alpha", "s" }, { "icon_id", "y" }), + GDBUS_ARGS({ "confirmation", "b" }), + agent_request_confirmation) }, { GDBUS_NOREPLY_METHOD("Cancel", NULL, NULL, agent_cancel) }, { }, }; -- cgit v1.2.3