Mercurial > hg > audiodb
view ReporterBase.h @ 388:f6aa8c5cd865 api-inversion
Preparation for more complex inversion.
Add a file descriptor and a DB Header struct pointer into the audioDB
structure.
(The structure description that is visible in audioDB_API.h should never
be exposed to code _using_ the library; for that, the adb_t structure
should be completely opaque, only ever passed around to API functions.
For actually _implementing_ the library, though, of course we need
access to our own internals...)
author | mas01cr |
---|---|
date | Mon, 24 Nov 2008 11:12:57 +0000 |
parents | d9a88cfd4ab6 |
children | d3afc91d205d |
line wrap: on
line source
#ifndef __REPORTERBASE_H #define __REPORTERBASE_H class ReporterBase { public: virtual ~ReporterBase(){}; virtual void add_point(unsigned int trackID, unsigned int qpos, unsigned int spos, double dist) = 0; virtual void report(char*,void*) = 0; }; #endif