From 6ea0d0b0b703261869ab24ce2cbf62c7c64f3dc8 Mon Sep 17 00:00:00 2001 From: Tom Feist Date: Sat, 19 Feb 2011 13:34:26 +0000 Subject: added module 'overlay' to test out some ideas for fiddling with curses widgets internally --- modules/overlays/overlay_core.c | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 modules/overlays/overlay_core.c (limited to 'modules/overlays/overlay_core.c') 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 + * and copyright as below: + * + * Copyright (c) 2009 Alexander Færøy + * + * 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 +#include +#include + +void overlay_init() { + module_register(MODULE_NAME, "core"); + print_load_message(); +} + +void overlay_deinit() { + print_unload_message(); +} -- cgit v1.2.3