From a9ce0218c1879a752c9d9ec6ef21fcf44eab51ab Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 1 Feb 2013 18:40:36 +0100 Subject: FilterInternal: convert struct filter to a OO interface --- src/FilterConfig.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/FilterConfig.hxx') diff --git a/src/FilterConfig.hxx b/src/FilterConfig.hxx index 18cc5c44..bad18635 100644 --- a/src/FilterConfig.hxx +++ b/src/FilterConfig.hxx @@ -27,7 +27,7 @@ #include "gerror.h" -struct filter; +class Filter; /** * Builds a filter chain from a configuration string on the form @@ -39,6 +39,6 @@ struct filter; * @return the number of filters which were successfully added */ unsigned int -filter_chain_parse(struct filter *chain, const char *spec, GError **error_r); +filter_chain_parse(Filter &chain, const char *spec, GError **error_r); #endif -- cgit v1.2.3