%{
	#include "CLucene/queryParser/QueryParser.h"
%}

////////////////////////////////////////////////////////////////////////////////
//queryParser.h
////////////////////////////////////////////////////////////////////////////////
%ignore lucene::queryParser::QueryParserBase;
%newobject lucene::queryParser::QueryParser::parse;

#ifdef SWIGCAP_NOOVERLOADING
	%rename (parseString) lucene::queryParser::QueryParser::parse(const TCHAR* query);
	%rename (parseReader) lucene::queryParser::QueryParser::parse(lucene::util::Reader* reader);
#endif

////////////////////////////////////////////////////////////////////////////////
//now include local definition
%include "local_queryParser.i"

//now include the clucene headers
%include "CLucene/queryParser/QueryParser.h"
