2011-01-04 00:34:55 +00:00
|
|
|
#ifndef PATH__HPP
|
|
|
|
#define PATH__HPP
|
|
|
|
|
|
|
|
#include <OgrePlatform.h>
|
|
|
|
#include <string>
|
|
|
|
|
2011-03-07 02:09:29 +00:00
|
|
|
#if OGRE_PLATFORM == OGRE_PLATFORM_APPLE
|
|
|
|
#include <OSX/macUtils.h>
|
|
|
|
#endif
|
|
|
|
|
2011-01-04 00:34:55 +00:00
|
|
|
namespace OMW
|
|
|
|
{
|
|
|
|
class Path
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
enum PathTypeEnum
|
|
|
|
{
|
|
|
|
USER_CFG_PATH,
|
|
|
|
GLOBAL_CFG_PATH
|
|
|
|
};
|
|
|
|
|
2011-01-14 18:43:51 +00:00
|
|
|
static std::string getPath(PathTypeEnum parType, const std::string parApp, const std::string parFile);
|
2011-01-04 00:34:55 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|