![]() |
![]() |
![]() |
Mission Control Reference Manual | ![]() |
---|---|---|---|---|
McAccountMonitor; McAccountMonitor* mc_account_monitor_new (void);
"account-changed" : Run Last "account-created" : Run Last "account-deleted" : Run Last "account-disabled" : Run Last "account-enabled" : Run Last "param-changed" : Run Last
The McAccountMonitor is an object that raises signals when some changes have been made to one account. There are signals for account creation/deletion/change, and enabling/disabling.
McAccountMonitor* mc_account_monitor_new (void);
Get a McAccountMonitor object. The object is a singleton: it is created only if another instance of itself is not alive, otherwise the same instance is returned.
Returns : | the McAccountMonitor object. |
void user_function (McAccountMonitor *self, gchar *name, gpointer user_data) : Run Last
Emitted when an account is changed.
self : |
The McAccountMonitor. |
name : |
The name of the account being changed (use mc_account_lookup() to
retrieve the account object).
|
user_data : |
user data set when the signal handler was connected. |
void user_function (McAccountMonitor *self, gchar *name, gpointer user_data) : Run Last
Emitted when a new account is created.
self : |
The McAccountMonitor. |
name : |
The name of the account being created (use mc_account_lookup() to
retrieve the account object).
|
user_data : |
user data set when the signal handler was connected. |
void user_function (McAccountMonitor *self, gchar *name, gpointer user_data) : Run Last
Emitted when an account is deleted.
self : |
The McAccountMonitor. |
name : |
The name of the account being deleted (use mc_account_lookup() to
retrieve the account object).
|
user_data : |
user data set when the signal handler was connected. |
void user_function (McAccountMonitor *self, gchar *name, gpointer user_data) : Run Last
Emitted when an account is disabled.
self : |
The McAccountMonitor. |
name : |
The name of the account being disabled (use mc_account_lookup() to
retrieve the account object).
|
user_data : |
user data set when the signal handler was connected. |
void user_function (McAccountMonitor *self, gchar *name, gpointer user_data) : Run Last
Emitted when an account is enabled.
self : |
The McAccountMonitor. |
name : |
The name of the account being enabled (use mc_account_lookup() to
retrieve the account object).
|
user_data : |
user data set when the signal handler was connected. |
void user_function (McAccountMonitor *self, gchar *name, gchar *param, gpointer user_data) : Run Last
Emitted when an account parameter is changed.
self : |
The McAccountMonitor. |
name : |
The name of the account being changed (use mc_account_lookup() to
retrieve the account object).
|
param : |
The name of the parameter which changed. |
user_data : |
user data set when the signal handler was connected. |