view accumulator.h @ 470:c26c5b7ef0d2 api-inversion

Implement libtests/0037 using audiodb_query_spec() It's a bit wordy; there's also the struct / pointer issue in audiodb_query_spec_t to think through. But it does work.
author mas01cr
date Wed, 31 Dec 2008 16:52:34 +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