diff 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
line wrap: on
line diff
--- a/audioDB_API.h	Wed Dec 24 10:54:55 2008 +0000
+++ b/audioDB_API.h	Wed Dec 24 10:54:59 2008 +0000
@@ -1,3 +1,6 @@
+#ifndef AUDIODB_API_H
+#define AUDIODB_API_H
+
 #include <stdbool.h>
 #include <stdint.h>
 
@@ -182,3 +185,5 @@
 
 /* varoius dump formats */
 int audiodb_dump(adb_ptr mydb, const char *outputdir);
+
+#endif