Mercurial > hg > audiodb
view ReporterBase.h @ 391:69f8bf88c0ff api-inversion
close the database returned from audiodb_create() inside audioDB::create
Now valgrind --leak-check=full agrees that we don't leak memory on
create in the no-error path! Yay!!
author | mas01cr |
---|---|
date | Mon, 24 Nov 2008 12:50:38 +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