openmw-tes3coop/components/misc/fileops.cpp

17 lines
259 B
C++
Raw Normal View History

2010-06-03 19:51:59 +00:00
#include "fileops.hpp"
#include <boost/filesystem.hpp>
#include <string>
2011-03-09 17:50:24 +00: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 19:51:59 +00:00
}
}