Mercurial > hg > audiodb
view accumulators.h @ 441:1a1ea05a94ce api-inversion
clarify audiodb_insert()
write audiodb_insert() (essentially to support the command-line client
audioDB::insert operation) in terms of audiodb_insert_datum() and a new
audiodb_insert_reference() function. These two functions each do
exactly one thing and return failure if they're working on the wrong
kind of database.
author | mas01cr |
---|---|
date | Wed, 24 Dec 2008 10:56:25 +0000 |
parents | 166312a124bc |
children |
line wrap: on
line source
#ifndef ACCUMULATORS_H #define ACCUMULATORS_H #include <string> #include <set> #include <queue> #include <map> #include <functional> #include "accumulator.h" #include "dbaccumulator.h" #include "pertrackaccumulator.h" #include "nearestaccumulator.h" #endif