2
Copyright (C) 2013 Cable Developers
4
This program or library is free software; you can redistribute it
5
and/or modify it under the terms of the GNU Lesser General Public
6
License as published by the Free Software Foundation; either
7
version 3 of the License, or (at your option) any later version.
9
This library is distributed in the hope that it will be useful,
10
but WITHOUT ANY WARRANTY; without even the implied warranty of
11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
Lesser General Public License for more details.
14
You should have received a copy of the GNU Lesser General
15
Public License along with this library; if not, write to the
16
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17
Boston, MA 02110-1301 USA.
20
class Cable.Irc.Client : GLib.Object {
23
* Names of the servers we are currently connected to.
25
public static string[] server_names {
28
return client.servers ();
29
} catch (GLib.IOError e) {
40
public static string[] known_server_names {
43
return client.server_list ("", "");
44
} catch (GLib.IOError e) {
52
/*public static string config_get (string group, string key) throws GLib.IOError {
53
return client.config_get (group, key);
56
public static void config_set (string group, string key, string value) throws GLib.IOError {
57
client.action (group, key, value);