// Copyright 2009 Ryan Dahl #ifndef SRC_EVENTS_H_ #define SRC_EVENTS_H_ #include #include namespace node { class EventEmitter : public ObjectWrap { public: static void Initialize(v8::Local ctemplate); static v8::Persistent constructor_template; bool Emit(v8::Handle event, int argc, v8::Handle argv[]); protected: EventEmitter() : ObjectWrap () { } }; } // namespace node #endif // SRC_EVENTS_H_