X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Fex_router_flexml.cpp;h=da9fd09092aa68789e7d43cf04846f30ec5baf03;hb=d4568b825ff581eddc6ce212a859fef6004c4147;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..da9fd09 100644 --- a/src/ex_router_flexml.cpp +++ b/src/ex_router_flexml.cpp @@ -1,7 +1,7 @@ -/* $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.9 2006-06-10 14:29:12 adam Exp $ + Copyright (c) 2005-2006, Index Data. -%LICENSE% + See the LICENSE file for details */ #include "config.hpp" @@ -17,11 +17,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 +68,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 +87,6 @@ int main(int argc, char **argv) } - - /* * Local variables: * c-basic-offset: 4