aboutsummaryrefslogtreecommitdiffhomepage
path: root/event.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-04-13 01:32:07 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-04-13 02:00:31 -0700
commitc37c7cee0544a801f1031d725bdd1b743f341a57 (patch)
tree50d83d9bef4d3a3aaab211e2bad81e45f738c028 /event.h
parent46579f3799f2e99e01b82e13af21f9251cc58a60 (diff)
Reduce compiled code size a bit
Diffstat (limited to 'event.h')
-rw-r--r--event.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/event.h b/event.h
index 73db7351..5bcf28a5 100644
--- a/event.h
+++ b/event.h
@@ -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);