Mercurial > hg > audiodb
view ReporterBase.h @ 460:17003dff8127 api-inversion
Convert index-finding logic to C functions.
New audiodb_index_exists() and audiodb_index_get_name(). The behaviours
of the functions are unchanged, even though they are kind of weird; in
particular, passing in a buffer rather than returning a char * for
audiodb_index_get_name() is probably likely to work better eventually
(see the changes to soap.cpp, which show a clear leak of a buffer in the
error case)
author | mas01cr |
---|---|
date | Tue, 30 Dec 2008 10:36:01 +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