#define BUILDING_NODE_EXTENSION #ifndef CONSUMER_H #define CONSUMER_H #include class Consumer : public node::ObjectWrap { public: static void Init(); static v8::Handle NewInstance(const v8::Arguments& args); private: Consumer(); ~Consumer(); static v8::Persistent constructor; static v8::Handle New(const v8::Arguments& args); }; #endif