SimpleApprover
Description:
[ CCode ( has_construct_function = false , type = "TpBaseClient*" ) ]
[ Version ( deprecated = true , since = "0.11.5" ) ]
public SimpleApprover (DBusDaemon dbus, string name, bool uniquify, owned SimpleApproverAddDispatchOperationImpl callback)
[ Version ( deprecated = true , since = "0.11.5" ) ]
public SimpleApprover (DBusDaemon dbus, string name, bool uniquify, owned SimpleApproverAddDispatchOperationImpl callback)
Warning: SimpleApprover is deprecated.
Convenient function to create a new SimpleApprover instance.
Note:
New code should use SimpleApprover.with_am instead.
If dbus
is not the result of dup, you should
call SimpleApprover.with_am
instead, so that Account,
Connection and
Contact instances can be shared between modules.
Parameters:
dbus |
a DBusDaemon object, may not be |
name |
the name of the Approver (see name for details) |
uniquify |
the value of the uniquify_name property |
callback |
the function called when AddDispatchOperation is called |
destroy |
called with |
user_data |
arbitrary user-supplied data passed to |
Returns:
a new SimpleApprover |