view accumulator.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 a7d61291fbda
children
line wrap: on
line source
#ifndef ACCUMULATOR_H
#define ACCUMULATOR_H

class Accumulator {
public:
  virtual ~Accumulator() {};
  virtual void add_point(adb_result_t *r) = 0;
  virtual adb_query_results_t *get_points() = 0;
};

#endif