aboutsummaryrefslogtreecommitdiffhomepage
path: root/event.h
diff options
context:
space:
mode:
authorGravatar Jan Kanis <jan.code@jankanis.nl>2012-12-22 18:38:28 +0100
committerGravatar Jan Kanis <jan.code@jankanis.nl>2012-12-22 18:38:28 +0100
commit8a446f43ff184fad6f7aeca05fca51bb3aac2d91 (patch)
treebfa5dbe4803b4c74a7889f0a305b77f4c5b49c7f /event.h
parent30392bf66a79b91ad2fa10b369f151540c40c09e (diff)
include fixes and suggestions from code review
Diffstat (limited to 'event.h')
-rw-r--r--event.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/event.h b/event.h
index 1c87488e..cd3bb0e3 100644
--- a/event.h
+++ b/event.h
@@ -109,7 +109,7 @@ void event_add_handler(const event_t &event);
May not be called by a signal handler, since it may free allocated memory.
*/
-void event_remove(event_t &event);
+void event_remove(const event_t &event);
/**
Return all events which match the specified event class
@@ -172,12 +172,6 @@ void event_free(event_t *e);
wcstring event_get_desc(const event_t &e);
/**
- Returns a string describing the event. This version is more concise and
- more detailed than event_get_desc.
-*/
-wcstring event_type_str(const event_t &e);
-
-/**
Fire a generic event with the specified name
*/
void event_fire_generic(const wchar_t *name, wcstring_list_t *args = NULL);