Mercurial > hg > audiodb
comparison audioDB_API.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 | f3b5d8aebd17 |
children | 7af140bf8a0a |
comparison
equal
deleted
inserted
replaced
420:580f696c817c | 421:166312a124bc |
---|---|
1 #ifndef AUDIODB_API_H | |
2 #define AUDIODB_API_H | |
3 | |
1 #include <stdbool.h> | 4 #include <stdbool.h> |
2 #include <stdint.h> | 5 #include <stdint.h> |
3 | 6 |
4 /* for API questions contact | 7 /* for API questions contact |
5 * Christophe Rhodes c.rhodes@gold.ac.uk | 8 * Christophe Rhodes c.rhodes@gold.ac.uk |
180 /* database status */ | 183 /* database status */ |
181 int audiodb_status(adb_ptr mydb, adb_status_ptr status); | 184 int audiodb_status(adb_ptr mydb, adb_status_ptr status); |
182 | 185 |
183 /* varoius dump formats */ | 186 /* varoius dump formats */ |
184 int audiodb_dump(adb_ptr mydb, const char *outputdir); | 187 int audiodb_dump(adb_ptr mydb, const char *outputdir); |
188 | |
189 #endif |