forked from teamnwah/openmw-tes3coop
90985e849e
Moving classes from components/misc into Misc namespace. Note: Misc namespace introduced conflict with ESM::Misc and MWClass::Misc classes, so both of them are renamed to ESM::Miscellaneous and MWClass::Miscellaneous. Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
16 lines
259 B
C++
16 lines
259 B
C++
#include "fileops.hpp"
|
|
#include <boost/filesystem.hpp>
|
|
#include <string>
|
|
|
|
#include <OgrePrerequisites.h>
|
|
|
|
namespace Misc
|
|
{
|
|
|
|
bool isFile(const char *name)
|
|
{
|
|
boost::filesystem::path cfg_file_path(name);
|
|
return boost::filesystem::exists(cfg_file_path);
|
|
}
|
|
|
|
}
|