[ CCode ( has_construct_function = false , type = "TpBaseClient*" ) ]
[ Version ( since = "0.11.14" ) ]
public SimpleApprover.with_am (AccountManager account_manager, string name, bool uniquify, owned SimpleApproverAddDispatchOperationImpl callback)
Convenient function to create a new SimpleApprover instance with a specified AccountManager.
It is not necessary to prepare any features on account_manager
before calling this function.
account_manager |
an account manager, which 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 |
a new SimpleApprover |