diff options
author | Tom Feist <shabble@metavore.org> | 2011-02-19 13:34:26 +0000 |
---|---|---|
committer | Tom Feist <shabble@metavore.org> | 2011-02-19 13:34:26 +0000 |
commit | 6ea0d0b0b703261869ab24ce2cbf62c7c64f3dc8 (patch) | |
tree | 8eed9b0b0813e35d621f5156cd08a7b1ae660f3e /modules/overlays/overlay_core.c | |
parent | added some detail on FSM for input control, and how to detect <esc> sequences. (diff) | |
download | irssi-scripts-6ea0d0b0b703261869ab24ce2cbf62c7c64f3dc8.tar.gz irssi-scripts-6ea0d0b0b703261869ab24ce2cbf62c7c64f3dc8.zip |
added module 'overlay' to test out some ideas for fiddling with curses widgets internally
Diffstat (limited to 'modules/overlays/overlay_core.c')
-rw-r--r-- | modules/overlays/overlay_core.c | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/modules/overlays/overlay_core.c b/modules/overlays/overlay_core.c new file mode 100644 index 0000000..8c75065 --- /dev/null +++ b/modules/overlays/overlay_core.c @@ -0,0 +1,34 @@ + +/* Originally this code was part of the irssi-lua module + * <https://github.com/ahf/irssi-lua> and copyright as below: + * + * Copyright (c) 2009 Alexander Færøy <ahf@irssi.org> + * + * 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. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + */ + +#include <overlay_core.h> +#include <overlay_irssi.h> +#include <overlay_impl.h> + +void overlay_init() { + module_register(MODULE_NAME, "core"); + print_load_message(); +} + +void overlay_deinit() { + print_unload_message(); +} |