#include <PolKit.h>
Public Member Functions | |
| PolKit () | |
| ~PolKit () | |
| bool | isDBusUserAuthorized (const std::string &action_id, const std::string &dbus_caller, DBusConnection *con) |
Static Public Member Functions | |
| static std::string | createActionId (const std::string &prefix, const std::string &path, const std::string &method, const std::string &arg=std::string(), const std::string &opt=std::string()) |
Private Attributes | |
| DBusError | dbus_error |
| PolKitError * | polkit_error |
| PolKitContext * | context |
| PolKit::PolKit | ( | ) |
References context, dbus_error, and polkit_error.
| PolKit::~PolKit | ( | ) |
References dbus_error.
| bool PolKit::isDBusUserAuthorized | ( | const std::string & | action_id, | |
| const std::string & | dbus_caller, | |||
| DBusConnection * | con | |||
| ) |
References context, dbus_error, polkit_error, y2debug, and y2error.
| std::string PolKit::createActionId | ( | const std::string & | prefix, | |
| const std::string & | path, | |||
| const std::string & | method, | |||
| const std::string & | arg = std::string(), |
|||
| const std::string & | opt = std::string() | |||
| ) | [static] |
References makeValidActionID().
DBusError PolKit::dbus_error [private] |
Referenced by isDBusUserAuthorized(), PolKit(), and ~PolKit().
PolKitError* PolKit::polkit_error [private] |
Referenced by isDBusUserAuthorized(), and PolKit().
PolKitContext* PolKit::context [private] |
Referenced by isDBusUserAuthorized(), and PolKit().
1.5.6