Mercurial > hg > audiodb
annotate ReporterBase.h @ 497:9d8aee621afb api-inversion
More libtests fixups.
Include audiodb_close() calls everywhere (whoops).
Add the facility to run tests under valgrind. Unfortunately the
error-exitcode flag doesn't actually cause an error exit if the only
thing wrong is memory leaks, but it will if there are actual memory
errors, which is a start.
author | mas01cr |
---|---|
date | Sat, 10 Jan 2009 16:07:43 +0000 |
parents | d3afc91d205d |
children | 23c47e118bc6 |
rev | line source |
---|---|
mas01mc@292 | 1 |
mas01mc@292 | 2 #ifndef __REPORTERBASE_H |
mas01mc@292 | 3 #define __REPORTERBASE_H |
mas01mc@292 | 4 |
mas01mc@292 | 5 class ReporterBase { |
mas01mc@292 | 6 public: |
mas01mc@292 | 7 virtual ~ReporterBase(){}; |
mas01mc@292 | 8 virtual void add_point(unsigned int trackID, unsigned int qpos, unsigned int spos, double dist) = 0; |
mas01cr@469 | 9 virtual void report(adb_t *,void *) = 0; |
mas01mc@292 | 10 }; |
mas01mc@292 | 11 |
mas01mc@292 | 12 #endif |