X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Ffilter_sort.hpp;fp=src%2Ffilter_sort.hpp;h=5e660f1893bc105194ea3dd7698f99a1c753a899;hb=b3974a565a726b9afaad86bcb66b56ae3ceb351a;hp=0000000000000000000000000000000000000000;hpb=bbe527cd451b7d260381d36a161b09ed0ae5c6ca;p=metaproxy-moved-to-github.git diff --git a/src/filter_sort.hpp b/src/filter_sort.hpp new file mode 100644 index 0000000..5e660f1 --- /dev/null +++ b/src/filter_sort.hpp @@ -0,0 +1,54 @@ +/* This file is part of Metaproxy. + Copyright (C) 2005-2012 Index Data + +Metaproxy is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 2, or (at your option) any later +version. + +Metaproxy is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +*/ + +#ifndef FILTER_SORT_HPP +#define FILTER_SORT_HPP + +#include + +#include + +namespace metaproxy_1 { + namespace filter { + class Sort : public Base { + class Impl; + boost::scoped_ptr m_p; + public: + Sort(); + ~Sort(); + void process(metaproxy_1::Package & package) const; + void configure(const xmlNode * ptr, bool test_only, + const char *path); + }; + } +} + +extern "C" { + extern struct metaproxy_1_filter_struct metaproxy_1_filter_sort; +} + +#endif +/* + * Local variables: + * c-basic-offset: 4 + * c-file-style: "Stroustrup" + * indent-tabs-mode: nil + * End: + * vim: shiftwidth=4 tabstop=8 expandtab + */ +