mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-25 15:35:23 +00:00
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>
17 lines
259 B
C++
17 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);
|
|
}
|
|
|
|
}
|