2011-06-19 16:14:03 +00:00
|
|
|
#ifndef MISC_FILEOPS_H
|
|
|
|
#define MISC_FILEOPS_H
|
2010-06-03 19:51:59 +00:00
|
|
|
|
2010-06-25 01:24:16 +00:00
|
|
|
#include <string>
|
|
|
|
|
2011-06-19 16:14:03 +00:00
|
|
|
namespace Misc
|
|
|
|
{
|
|
|
|
|
2010-06-03 19:51:59 +00:00
|
|
|
/// Check if a given path is an existing file (not a directory)
|
|
|
|
bool isFile(const char *name);
|
|
|
|
|
2010-06-25 01:24:16 +00:00
|
|
|
#if OGRE_PLATFORM == OGRE_PLATFORM_APPLE
|
|
|
|
std::string macBundlePath();
|
|
|
|
#endif
|
|
|
|
|
2011-06-19 16:14:03 +00:00
|
|
|
}
|
|
|
|
|
2010-06-03 19:51:59 +00:00
|
|
|
#endif
|