From 438a047935f941e8f7d8df27a0069c70e4b4ea05 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Fri, 26 Feb 2010 18:01:55 -0800 Subject: core: add authorization providers and optional PolicyKit support When the support is complete, use --with-polkit to enable PolicyKit support. It's not there yet, but this commit adds an authorization provider framework which will be extended to allow hooking into PolicyKit. --- src/mm-errors.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mm-errors.h') diff --git a/src/mm-errors.h b/src/mm-errors.h index 2a6c565e..1b924d40 100644 --- a/src/mm-errors.h +++ b/src/mm-errors.h @@ -39,7 +39,8 @@ enum { MM_MODEM_ERROR_CONNECTED = 2, MM_MODEM_ERROR_DISCONNECTED = 3, MM_MODEM_ERROR_OPERATION_IN_PROGRESS = 4, - MM_MODEM_ERROR_REMOVED = 5 + MM_MODEM_ERROR_REMOVED = 5, + MM_MODEM_ERROR_AUTHORIZATION_REQUIRED = 6 }; #define MM_MODEM_ERROR (mm_modem_error_quark ()) -- cgit v1.2.3-70-g09d2