X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=apps%2Firssi%2Fsrc%2Ffe-common%2Fsilc%2Ffe-common-silc.c;fp=apps%2Firssi%2Fsrc%2Ffe-common%2Fsilc%2Ffe-common-silc.c;h=0000000000000000000000000000000000000000;hb=72c2de619079457f7a68100eb13385275a424a23;hp=ee45c2e3904d9a312cd77ce57cf5933754e9452c;hpb=e7b6c157b80152bf9fb9266e6bdd93f9fb0db776;p=runtime.git diff --git a/apps/irssi/src/fe-common/silc/fe-common-silc.c b/apps/irssi/src/fe-common/silc/fe-common-silc.c deleted file mode 100644 index ee45c2e3..00000000 --- a/apps/irssi/src/fe-common/silc/fe-common-silc.c +++ /dev/null @@ -1,73 +0,0 @@ -/* - - fe-common-silc.c - - Author: Pekka Riikonen - - Copyright (C) 2001 Pekka Riikonen - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - -*/ - -#include "module.h" -#include "module-formats.h" -#include "modules.h" -#include "signals.h" -#include "themes.h" - -#include "fe-silcnet.h" -#include "fe-silc-messages.h" -#include "fe-silc-queries.h" -#include "fe-silc-channels.h" - - -void fe_silc_modules_init(void); -void fe_silc_modules_deinit(void); - -static void silc_init(void) -{ - theme_register(fecommon_silc_formats); - - fe_silc_channels_init(); - fe_silc_modules_init(); - fe_silc_messages_init(); - fe_silc_queries_init(); - fe_silcnet_init(); -} - -void fe_common_silc_init(void) -{ - silc_init(); - module_register("silc", "fe_common"); -} - -void fe_silc_init(void) -{ - silc_init(); - module_register("silc", "fe"); -} - -void fe_common_silc_deinit(void) -{ - fe_silc_queries_deinit(); - fe_silc_messages_deinit(); - fe_silc_modules_deinit(); - fe_silc_channels_deinit(); - fe_silcnet_deinit(); - - theme_unregister(); -} - -void fe_silc_deinit(void) -{ - fe_common_silc_deinit(); -}