Mercurial > hg > audiodb
view ReporterBase.h @ 434:7af140bf8a0a api-inversion
adb_t-ize most of audioDB::set_up_db.
All of this "adding code" nonsense (mostly because of the conversion
from C++ non-local exits using audioDB::error into lame C "must return
and check integer error code") has to have a payoff sometime. That day
will come. That day will come.
author | mas01cr |
---|---|
date | Wed, 24 Dec 2008 10:55:52 +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