Mercurial > hg > audiodb
view ReporterBase.h @ 473:b2fd8113d8bc api-inversion
const declarations for some API arguments.
This should make it slightly clearer whose responsibility (the user's)
it is to manage the memory pointed to by the corresponding arguments.
Suggested by Chris Cannam.
author | mas01cr |
---|---|
date | Tue, 06 Jan 2009 16:27:01 +0000 |
parents | d3afc91d205d |
children | 23c47e118bc6 |
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(adb_t *,void *) = 0; }; #endif