added support for both ent and def files at the same time

git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@95 8a3a26a2-13c4-0310-b231-cf6edde360e5
This commit is contained in:
spog
2006-07-22 16:30:32 +00:00
parent 988b2f6fbc
commit d498eb592d
10 changed files with 67 additions and 53 deletions

View File

@@ -80,7 +80,7 @@ public:
{
return find(name);
}
void foreachModule(typename Modules<Type>::Visitor& visitor)
void foreachModule(const typename Modules<Type>::Visitor& visitor)
{
for(modules_t::iterator i = m_modules.begin(); i != m_modules.end(); ++i)
{
@@ -98,7 +98,7 @@ public:
: m_modules(modules)
{
}
void visit(const char* name, Module& module)
void visit(const char* name, Module& module) const
{
m_modules.insert(name, module);
}