]> git.tdb.fi Git - r2c2.git/blobdiff - source/shoppinglist/main.cpp
Replace various map lookups with functions from maputils.h
[r2c2.git] / source / shoppinglist / main.cpp
index 2b8f5bf00abd7249768b37f5526f2b1cbd87ec79..ff281e6e4a7be4f93574b4923cb56cd7b728a807 100644 (file)
@@ -1,21 +1,14 @@
-/* $Id$
-
-This file is part of the MSP Märklin suite
-Copyright © 2006-2008 Mikkosoft Productions, Mikko Rasa
-Distributed under the GPL
-*/
-
 #include <map>
 #include <msp/core/application.h>
 #include <msp/core/getopt.h>
 #include <msp/datafile/loader.h>
 #include <msp/datafile/parser.h>
 #include <msp/io/print.h>
-#include "libmarklin/articlenumber.h"
+#include "libr2c2/articlenumber.h"
 
 using namespace std;
 using namespace Msp;
-using namespace Marklin;
+using namespace R2C2;
 
 class ShoppingList: public Application
 {
@@ -141,6 +134,7 @@ ShoppingList::LayoutLoader::LayoutLoader(ShoppingList &s):
        add("track", &LayoutLoader::track);
        add("base");
        add("route");
+       add("zone");
 }
 
 void ShoppingList::LayoutLoader::track(ArticleNumber art_nr)