summaryrefslogtreecommitdiffstats
path: root/tools/stktest.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/stktest.c')
-rw-r--r--tools/stktest.c5
1 files changed, 5 insertions, 0 deletions
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) },
{ },
};