X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2Fex_router_flexml.cpp;h=f2db2ef56c84182f3c557d672f7e30438de8e691;hb=978c3c07cfd3ce296546ac6c950b2c39d7fb76ec;hp=3d77c98fde210af02f2a7d17dd84474fc9e1447a;hpb=9f2bcb03606f31b1bcf0626b6b022f66576c5ca7;p=metaproxy-moved-to-github.git diff --git a/src/ex_router_flexml.cpp b/src/ex_router_flexml.cpp index 3d77c98..f2db2ef 100644 --- a/src/ex_router_flexml.cpp +++ b/src/ex_router_flexml.cpp @@ -1,7 +1,22 @@ -/* $Id: ex_router_flexml.cpp,v 1.7 2006-01-16 11:22:56 adam Exp $ - Copyright (c) 2005, Index Data. +/* $Id: ex_router_flexml.cpp,v 1.11 2007-05-09 21:23:09 adam Exp $ + Copyright (c) 2005-2007, Index Data. -%LICENSE% +This file is part of Metaproxy. + +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 Metaproxy; see the file LICENSE. If not, write to the +Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA +02111-1307, USA. */ #include "config.hpp" @@ -17,6 +32,8 @@ namespace po = boost::program_options; #include "router_flexml.hpp" #include "factory_static.hpp" +namespace mp = metaproxy_1; + int main(int argc, char **argv) { try @@ -66,10 +83,10 @@ int main(int argc, char **argv) } if (doc) { - yp2::FactoryStatic factory; - yp2::RouterFleXML router(doc, factory); + mp::FactoryStatic factory; + mp::RouterFleXML router(doc, factory); - yp2::Package pack; + mp::Package pack; pack.router(router).move();