diff options
author | 2013-04-13 01:32:07 -0700 | |
---|---|---|
committer | 2013-04-13 02:00:31 -0700 | |
commit | c37c7cee0544a801f1031d725bdd1b743f341a57 (patch) | |
tree | 50d83d9bef4d3a3aaab211e2bad81e45f738c028 /event.h | |
parent | 46579f3799f2e99e01b82e13af21f9251cc58a60 (diff) |
Reduce compiled code size a bit
Diffstat (limited to 'event.h')
-rw-r--r-- | event.h | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -49,9 +49,9 @@ enum */ struct event_t { - /** - Type of event - */ + public: + + /** Type of event */ int type; /** The type-specific parameter. The int types are one of the following: @@ -86,9 +86,8 @@ struct event_t */ wcstring_list_t arguments; - event_t(int t) : type(t), param1(), str_param1(), function_name(), arguments() { } - - /** default copy constructor */ + event_t(int t); + ~event_t(); static event_t signal_event(int sig); static event_t variable_event(const wcstring &str); |