#include <lugre_findpath.h>
Public Member Functions | |
| FindBasePaths () | |
| std::string | getLugreLuaPath () |
| std::string | getMainLuaPath () |
| std::string | getMainWorkingDir () |
Static Public Member Functions | |
| static std::string | macBundlePath () |
Private Types | |
| typedef std::vector< std::string > | StringList |
Private Attributes | |
| StringList | mPossibleLugreLuaPaths |
| StringList | mPossibleMainLuaPaths |
| std::string | mMainWorkingDir |
Definition at line 31 of file lugre_findpath.h.
typedef std::vector<std::string> Lugre::FindBasePaths::StringList [private] |
Definition at line 40 of file lugre_findpath.h.
| Lugre::FindBasePaths::FindBasePaths | ( | ) |
Definition at line 95 of file lugre_findpath.cpp.
References directory_exists(), Lugre::GetMacDefaultResourcesDir(), kLugreBaseConfig, mMainWorkingDir, mPossibleLugreLuaPaths, mPossibleMainLuaPaths, and Lugre::strprintf().
| std::string Lugre::FindBasePaths::getLugreLuaPath | ( | ) |
Definition at line 145 of file lugre_findpath.cpp.
References file_exists(), mPossibleLugreLuaPaths, and Lugre::strprintf().
Referenced by Lugre::Lugre_Run().
| std::string Lugre::FindBasePaths::getMainLuaPath | ( | ) |
Definition at line 158 of file lugre_findpath.cpp.
References file_exists(), and mPossibleMainLuaPaths.
Referenced by Lugre::Lugre_Run().
| std::string Lugre::FindBasePaths::getMainWorkingDir | ( | ) |
Definition at line 141 of file lugre_findpath.cpp.
References mMainWorkingDir.
Referenced by Lugre::Lugre_Run().
| std::string Lugre::FindBasePaths::macBundlePath | ( | ) | [static] |
Definition at line 41 of file lugre_findpath.h.
Referenced by FindBasePaths(), and getLugreLuaPath().
Definition at line 42 of file lugre_findpath.h.
Referenced by FindBasePaths(), and getMainLuaPath().
std::string Lugre::FindBasePaths::mMainWorkingDir [private] |
Definition at line 43 of file lugre_findpath.h.
Referenced by FindBasePaths(), and getMainWorkingDir().
1.5.6