Mercurial > hg > audiodb
annotate ReporterBase.h @ 605:d7eb0a7440ad
Tidying and POST enhancement
* Ensured that the storage module is closed/freed when errors occur
* Now reads in the query via POST if provided (allows for other clients)
author | mas01mj |
---|---|
date | Tue, 18 Aug 2009 14:23:32 +0000 |
parents | 23c47e118bc6 |
children |
rev | line source |
---|---|
mas01mc@292 | 1 |
mas01mc@292 | 2 #ifndef __REPORTERBASE_H |
mas01mc@292 | 3 #define __REPORTERBASE_H |
mas01mc@292 | 4 |
mas01mc@292 | 5 class ReporterBase { |
mas01mc@292 | 6 public: |
mas01mc@292 | 7 virtual ~ReporterBase(){}; |
mas01mc@292 | 8 virtual void add_point(unsigned int trackID, unsigned int qpos, unsigned int spos, double dist) = 0; |
mas01cr@508 | 9 virtual void report(adb_t *, struct soap *, void *) = 0; |
mas01mc@292 | 10 }; |
mas01mc@292 | 11 |
mas01mc@292 | 12 #endif |