mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-31 12:26:39 +00:00 
			
		
		
		
	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);
 | |
| }
 | |
| 
 | |
| }
 |