diff options
author | deva <deva> | 2009-07-30 07:23:42 +0000 |
---|---|---|
committer | deva <deva> | 2009-07-30 07:23:42 +0000 |
commit | 965506c3e9ab1dca32c7be51c0271af78721c821 (patch) | |
tree | 559c30c1c30393f30df8b0e1f941c43cdaafddbf /server/src/macrolist.cc | |
parent | 2239aeea03f5d8321f1a8e14551690cc0bebdb56 (diff) |
Updated the example template to contain new tags/attributes.
Diffstat (limited to 'server/src/macrolist.cc')
-rw-r--r-- | server/src/macrolist.cc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/server/src/macrolist.cc b/server/src/macrolist.cc index e8bc507..0e86a47 100644 --- a/server/src/macrolist.cc +++ b/server/src/macrolist.cc @@ -68,6 +68,21 @@ MacroList::MacroList(std::string macropath) (*this)[macro->attributes["name"]][VersionStr(macro->attributes["version"])] = *i; i++; } + + { + iterator i = begin(); + while(i != end()) { + MacroListItem::iterator j = i->second.begin(); + while(j != i->second.end()) { + PRACRO_DEBUG(macrolist, "%s - v%s file: %s\n", + i->first.c_str(), + ((std::string)j->first).c_str(), + j->second.c_str()); + j++; + } + i++; + } + } } std::string MacroList::getLatestVersion(std::string macro) throw(Exception) |