summaryrefslogtreecommitdiff
path: root/server/src/macrolist.cc
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/macrolist.cc')
-rw-r--r--server/src/macrolist.cc15
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)