FilterInternal: convert struct filter to a OO interface

This commit is contained in:
Max Kellermann
2013-02-01 18:40:36 +01:00
parent 7bb5a960fd
commit a9ce0218c1
25 changed files with 534 additions and 807 deletions

View File

@@ -27,12 +27,12 @@
#ifndef MPD_FILTER_CHAIN_HXX
#define MPD_FILTER_CHAIN_HXX
struct filter;
class Filter;
/**
* Creates a new filter chain.
*/
struct filter *
Filter *
filter_chain_new(void);
/**
@@ -43,6 +43,6 @@ filter_chain_new(void);
* @param filter the filter to be appended to #chain
*/
void
filter_chain_append(struct filter *chain, struct filter *filter);
filter_chain_append(Filter &chain, const char *name, Filter *filter);
#endif