8 #ifndef __IWVLISTENER_H
9 #define __IWVLISTENER_H
11 #include "iwvstream.h"
13 typedef wv::function<void(IWvStream*)> IWvListenerCallback;
14 typedef wv::function<IWvStream*(IWvStream*)> IWvListenerWrapper;
32 virtual IWvListenerCallback
onaccept(IWvListenerCallback _cb) = 0;
41 virtual void addwrap(IWvListenerWrapper _wrapper) = 0;
45 0xee, 0xc0, 0x0f, 0xa7, 0xe3, 0x08, 0xeb}});
47 #endif // __IWVLISTENER_H