Mercurial > hg > audiodb
annotate accumulator.h @ 661:72810ed81817
Improve test infrastructure a little bit
Test bindings as well as the basics. Again, the implemented tests are a bit
linux-specific, but since you run out of disk space on OS X long before
getting to the bindings tests, I'm not too worried
author | mas01cr |
---|---|
date | Fri, 08 Jan 2010 21:09:01 +0000 |
parents | 342822c2d49a |
children |
rev | line source |
---|---|
mas01cr@498 | 1 #ifndef ACCUMULATOR_H |
mas01cr@498 | 2 #define ACCUMULATOR_H |
mas01cr@498 | 3 |
mas01cr@498 | 4 class Accumulator { |
mas01cr@498 | 5 public: |
mas01cr@498 | 6 virtual ~Accumulator() {}; |
mas01cr@498 | 7 virtual void add_point(adb_result_t *r) = 0; |
mas01cr@498 | 8 virtual adb_query_results_t *get_points() = 0; |
mas01cr@498 | 9 }; |
mas01cr@498 | 10 |
mas01cr@498 | 11 #endif |