aboutsummaryrefslogtreecommitdiffhomepage
path: root/event.h
diff options
context:
space:
mode:
authorGravatar liljencrantz <liljencrantz@gmail.com>2008-01-15 08:31:24 +1000
committerGravatar liljencrantz <liljencrantz@gmail.com>2008-01-15 08:31:24 +1000
commit537ab32dd99992e12b7edac7ad2be82a6710a39a (patch)
treea483f1239b4d234e077e59d9417f1b59df5d108f /event.h
parenta2660cfb769405c3de270452ec1a70b62d3e271c (diff)
Add support for the Ubuntu 'command-no-found' handler, which suggests a package to install in order to get a command.
darcs-hash:20080114223124-75c98-ab1658d54086394cf13f3a6210543c0b790362c4.gz
Diffstat (limited to 'event.h')
-rw-r--r--event.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/event.h b/event.h
index 0964cab1..6e3423c6 100644
--- a/event.h
+++ b/event.h
@@ -164,7 +164,8 @@ const wchar_t *event_get_desc( event_t *e );
/**
Fire a generic event with the specified name
*/
-void event_fire_generic(const wchar_t *name);
+#define event_fire_generic( ... ) event_fire_generic_internal( __VA_ARGS__, (void *)0 )
+void event_fire_generic_internal(const wchar_t *name,...);
#endif