Mercurial > hg > audiodb
view ReporterBase.h @ 472:0f96ad351990 api-inversion
Clean up some compiler warnings.
Yes, we must check return values from read(2). Make
audiodb_track_id_datum() be more paranoid, and audiodb_free_datum()
defend against potential double-frees as well (even though we're not
exposing that issue at this point).
author | mas01cr |
---|---|
date | Tue, 06 Jan 2009 15:25:39 +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