e1912d5c91b2d0272aa8d6e2fb017094ee8b2c04
[silc.git] / apps / irssi / src / fe-common / silc / fe-common-silc.c
1 /*
2
3   fe-common-silc.c
4
5   Author: Pekka Riikonen <priikone@poseidon.pspt.fi>
6
7   Copyright (C) 2001 Pekka Riikonen
8
9   This program is free software; you can redistribute it and/or modify
10   it under the terms of the GNU General Public License as published by
11   the Free Software Foundation; either version 2 of the License, or
12   (at your option) any later version.
13   
14   This program is distributed in the hope that it will be useful,
15   but WITHOUT ANY WARRANTY; without even the implied warranty of
16   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17   GNU General Public License for more details.
18
19 */
20
21 #include "module.h"
22 #include "module-formats.h"
23 #include "modules.h"
24 #include "signals.h"
25 #include "themes.h"
26
27 void fe_silc_channels_init(void);
28 void fe_silc_channels_deinit(void);
29
30 void fe_silc_modules_init(void);
31 void fe_silc_modules_deinit(void);
32
33 void fe_silc_init(void)
34 {
35   theme_register(fecommon_silc_formats);
36
37   fe_silc_channels_init();
38   fe_silc_modules_init();
39
40   module_register("silc", "fe");
41 }
42
43 void fe_silc_deinit(void)
44 {
45   fe_silc_modules_deinit();
46   fe_silc_channels_deinit();
47
48   theme_unregister();
49 }