![]() |
![]() |
![]() |
libempathy Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
EmpathyIrcNetworkManager; EmpathyIrcNetworkManager * empathy_irc_network_manager_new (const gchar *global_file, const gchar *user_file); void empathy_irc_network_manager_add (EmpathyIrcNetworkManager *manager, EmpathyIrcNetwork *network); void empathy_irc_network_manager_remove (EmpathyIrcNetworkManager *manager, EmpathyIrcNetwork *network); GSList * empathy_irc_network_manager_get_networks (EmpathyIrcNetworkManager *manager); EmpathyIrcNetwork * empathy_irc_network_manager_find_network_by_address (EmpathyIrcNetworkManager *manager, const gchar *address);
"global-file" gchar* : Read / Write / Construct Only "user-file" gchar* : Read / Write / Construct Only
EmpathyIrcNetworkManager * empathy_irc_network_manager_new (const gchar *global_file, const gchar *user_file);
Creates a new EmpathyIrcNetworkManager
|
the path of the global networks file, or NULL
|
|
the path of the user networks file, or NULL
|
Returns : |
a new EmpathyIrcNetworkManager |
void empathy_irc_network_manager_add (EmpathyIrcNetworkManager *manager, EmpathyIrcNetwork *network);
Add an EmpathyIrcNetwork to the given EmpathyIrcNetworkManager.
|
an EmpathyIrcNetworkManager |
|
the EmpathyIrcNetwork to add |
void empathy_irc_network_manager_remove (EmpathyIrcNetworkManager *manager, EmpathyIrcNetwork *network);
Remove an EmpathyIrcNetwork from the given EmpathyIrcNetworkManager.
|
an EmpathyIrcNetworkManager |
|
the EmpathyIrcNetwork to remove |
GSList * empathy_irc_network_manager_get_networks (EmpathyIrcNetworkManager *manager);
Get the list of EmpathyIrcNetwork associated with the given manager.
|
an EmpathyIrcNetworkManager |
Returns : |
a new GSList of refed EmpathyIrcNetwork |
EmpathyIrcNetwork * empathy_irc_network_manager_find_network_by_address (EmpathyIrcNetworkManager *manager, const gchar *address);
Find the EmpathyIrcNetwork which owns an EmpathyIrcServer that has the given address.
|
an EmpathyIrcNetworkManager |
|
the server address to look for |
Returns : |
the found EmpathyIrcNetwork, or NULL if not found.
|
"global-file"
property"global-file" gchar* : Read / Write / Construct Only
The path of the system-wide filename from which we have to load the networks list.
Default value: NULL
"user-file"
property"user-file" gchar* : Read / Write / Construct Only
The path of user's filename from which we have to load the networks list and to which we'll save his modifications.
Default value: NULL