diff options
Diffstat (limited to 'libempathy')
-rw-r--r-- | libempathy/empathy-irc-network.c | 16 | ||||
-rw-r--r-- | libempathy/empathy-irc-network.h | 4 |
2 files changed, 20 insertions, 0 deletions
diff --git a/libempathy/empathy-irc-network.c b/libempathy/empathy-irc-network.c index 9b75f0e82..d5b0bdcb9 100644 --- a/libempathy/empathy-irc-network.c +++ b/libempathy/empathy-irc-network.c @@ -359,3 +359,19 @@ empathy_irc_network_set_server_position (EmpathyIrcNetwork *self, g_signal_emit (self, signals[MODIFIED], 0); } + +const gchar * +empathy_irc_network_get_name (EmpathyIrcNetwork *self) +{ + EmpathyIrcNetworkPriv *priv = GET_PRIV (self); + + return priv->name; +} + +const gchar * +empathy_irc_network_get_charset (EmpathyIrcNetwork *self) +{ + EmpathyIrcNetworkPriv *priv = GET_PRIV (self); + + return priv->charset; +} diff --git a/libempathy/empathy-irc-network.h b/libempathy/empathy-irc-network.h index b10b2769e..9d78f3c3f 100644 --- a/libempathy/empathy-irc-network.h +++ b/libempathy/empathy-irc-network.h @@ -75,6 +75,10 @@ void empathy_irc_network_remove_server (EmpathyIrcNetwork *network, void empathy_irc_network_set_server_position (EmpathyIrcNetwork *network, EmpathyIrcServer *server, gint pos); +const gchar * empathy_irc_network_get_name (EmpathyIrcNetwork *network); + +const gchar * empathy_irc_network_get_charset (EmpathyIrcNetwork *network); + G_END_DECLS #endif /* __EMPATHY_IRC_NETWORK_H__ */ |