openmw/components/misc/fileops.cpp

17 lines
259 B
C++
Raw Normal View History

2010-06-03 21:51:59 +02:00
#include "fileops.hpp"
#include <boost/filesystem.hpp>
#include <string>
2011-03-09 18:50:24 +01:00
#include <OgrePrerequisites.h>
namespace Misc
{
bool isFile(const char *name)
{
boost::filesystem::path cfg_file_path(name);
return boost::filesystem::exists(cfg_file_path);
2010-06-03 21:51:59 +02:00
}
}