X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2Fex_router_flexml.cpp;h=f2db2ef56c84182f3c557d672f7e30438de8e691;hb=81038fce7a37619ed36a6f84cb0bec7d0d4f3789;hp=3793ea22f3d752f22ebca7b03b6ff9d0b5fc3fa8;hpb=ec5548301e2549fc0f8d2f962aade24cb6f90d1b;p=metaproxy-moved-to-github.git diff --git a/src/ex_router_flexml.cpp b/src/ex_router_flexml.cpp index 3793ea2..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.6 2006-01-09 13:43:59 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,11 +32,12 @@ namespace po = boost::program_options; #include "router_flexml.hpp" #include "factory_static.hpp" +namespace mp = metaproxy_1; + int main(int argc, char **argv) { try { - po::options_description desc("Allowed options"); desc.add_options() ("help", "produce help message") @@ -67,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(); @@ -86,8 +102,6 @@ int main(int argc, char **argv) } - - /* * Local variables: * c-basic-offset: 4