Mercurial > hg > audiodb
view ReporterBase.h @ 421:166312a124bc api-inversion
Code spaghettification continues.
Include accumulator.h in audioDB.h. This means we also need
audioDB_API.h in there, to get the definition of adb_result_t. Use
preprocessor defines to prevent audioDB_API.h from being included
multiple times.
Include an accumulator field in class audioDB.
author | mas01cr |
---|---|
date | Wed, 24 Dec 2008 10:54:59 +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