From 6ed689d1c969a7af19e9269b896a00fa237d21c1 Mon Sep 17 00:00:00 2001 From: Julien BLACHE Date: Fri, 24 Apr 2009 10:57:44 +0200 Subject: [PATCH] Move FILTER_TYPE_* definitions to smart-parser.h, where they belong --- src/ff-plugins.h | 4 +--- src/smart-parser.h | 3 +++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/ff-plugins.h b/src/ff-plugins.h index 530e2769..aacba793 100644 --- a/src/ff-plugins.h +++ b/src/ff-plugins.h @@ -23,6 +23,7 @@ #include "ff-dbstruct.h" #include "ff-plugin-events.h" +#include "smart-parser.h" #define EXPORT @@ -89,9 +90,6 @@ typedef struct tag_plugin_info { #define QUERY_TYPE_PLAYLISTS 1 #define QUERY_TYPE_DISTINCT 2 -#define FILTER_TYPE_FIREFLY 0 -#define FILTER_TYPE_APPLE 1 - typedef struct tag_db_query { int query_type; char *distinct_field; diff --git a/src/smart-parser.h b/src/smart-parser.h index 3f696eef..d4421ee4 100644 --- a/src/smart-parser.h +++ b/src/smart-parser.h @@ -13,5 +13,8 @@ extern char *sp_sql_clause(PARSETREE tree); #define SP_TYPE_PLAYLIST 0 #define SP_TYPE_QUERY 1 +#define FILTER_TYPE_FIREFLY 0 +#define FILTER_TYPE_APPLE 1 + #endif /* _SMART_PARSER_H_ */