* renamed class LoadModule into CLoadModule because LoadModule is already a registered function on windows

* fixed some other windows compilation problems

git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@256 8a3a26a2-13c4-0310-b231-cf6edde360e5
This commit is contained in:
mattn
2008-06-19 11:56:48 +00:00
parent 9077ee9bab
commit a95c219c97
2 changed files with 15 additions and 6 deletions

View File

@@ -502,11 +502,11 @@ void gamemode_set(const char* gamemode)
#include "os/dir.h"
class LoadModule
class CLoadModule
{
const char* m_path;
public:
LoadModule(const char* path) : m_path(path)
CLoadModule(const char* path) : m_path(path)
{
}
void operator()(const char* name) const
@@ -532,7 +532,7 @@ const char* const c_library_extension =
void Radiant_loadModules(const char* path)
{
Directory_forEach(path, MatchFileExtension<LoadModule>(c_library_extension, LoadModule(path)));
Directory_forEach(path, MatchFileExtension<CLoadModule>(c_library_extension, CLoadModule(path)));
}
void Radiant_loadModulesFromRoot(const char* directory)