GPL v2.
[metaproxy-moved-to-github.git] / src / ex_router_flexml.cpp
index 3793ea2..f2db2ef 100644 (file)
@@ -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