view accumulator.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 580f696c817c
children a7d61291fbda
line wrap: on
line source
class Accumulator {
public:
  virtual ~Accumulator() {};
  virtual void add_point(adb_result_t *r) = 0;
  virtual adb_query_results_t *get_points() = 0;
};