aboutsummaryrefslogtreecommitdiffstats
path: root/modules/key_emitter/key_emitter_impl.c
diff options
context:
space:
mode:
authorTom Feist <shabble@metavore.org>2011-01-09 15:47:19 +0000
committerTom Feist <shabble@metavore.org>2011-01-09 15:47:19 +0000
commitd09b996009ec577b484caaab5dcbf5f18ad84c83 (patch)
treee2d2ddbac61b6146e79f71da9b6d1c3a5197abf3 /modules/key_emitter/key_emitter_impl.c
parentido-mode/ido_switcher: added a ido_show_active_first setting to prioritise (diff)
downloadirssi-scripts-d09b996009ec577b484caaab5dcbf5f18ad84c83.tar.gz
irssi-scripts-d09b996009ec577b484caaab5dcbf5f18ad84c83.zip
cloned test module to start work on a useful module
Diffstat (limited to 'modules/key_emitter/key_emitter_impl.c')
-rw-r--r--modules/key_emitter/key_emitter_impl.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/modules/key_emitter/key_emitter_impl.c b/modules/key_emitter/key_emitter_impl.c
new file mode 100644
index 0000000..cd2055e
--- /dev/null
+++ b/modules/key_emitter/key_emitter_impl.c
@@ -0,0 +1,18 @@
+#include <key_emitter_irssi.h>
+#include <key_emitter_impl.h>
+#include <key_emitter_core.h>
+
+void print_load_message(void) {
+
+ printtext(NULL, NULL, MSGLEVEL_CLIENTERROR,
+ "Hello, World. xxx \"%s\"", MODULE_NAME);
+
+}
+
+void print_unload_message(void) {
+
+ printtext(NULL, NULL, MSGLEVEL_CLIENTERROR,
+ "Goodbye, Cruel World. ~signed \"%s\"", MODULE_NAME);
+
+}
+