mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-05-08 03:28:15 +03:00
Move misc files back to components
This commit is contained in:
parent
67f89f27a2
commit
97feee6cb6
17 changed files with 102 additions and 114 deletions
8
components/misc/fileops.cpp
Normal file
8
components/misc/fileops.cpp
Normal file
|
@ -0,0 +1,8 @@
|
|||
#include "fileops.hpp"
|
||||
#include <boost/filesystem.hpp>
|
||||
|
||||
bool isFile(const char *name)
|
||||
{
|
||||
boost::filesystem::path cfg_file_path(name);
|
||||
return boost::filesystem::exists(cfg_file_path);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue