api_readercallback.h 418 B

12345678910111213141516171819202122
  1. #ifndef __WASABI_API_READERCALLBACK_H
  2. #define __WASABI_API_READERCALLBACK_H
  3. #include <bfc/dispatch.h>
  4. class NOVTABLE api_readercallback : public Dispatchable
  5. {
  6. public:
  7. void metaDataReader_onData(const char *data, int size);
  8. enum
  9. {
  10. METADATAREADERONDATA = 10,
  11. };
  12. };
  13. inline void api_readercallback::metaDataReader_onData(const char *data, int size)
  14. {
  15. _voidcall(METADATAREADERONDATA, data, size);
  16. }
  17. #endif