mirror of https://github.com/axmolengine/axmol.git
29 lines
486 B
Plaintext
29 lines
486 B
Plaintext
|
|
#include <string>
|
|
#include <vector>
|
|
using namespace std;
|
|
|
|
string getProjSearchPath()
|
|
{
|
|
NSString *bundlePath = [[NSBundle mainBundle] resourcePath];
|
|
if (bundlePath != nil) {
|
|
return [bundlePath UTF8String];
|
|
}
|
|
return "";
|
|
}
|
|
|
|
vector<string> getSearchPath()
|
|
{
|
|
vector<string> searchPathArray;
|
|
return searchPathArray;
|
|
}
|
|
|
|
string getDotWaitFilePath()
|
|
{
|
|
string dotwaitFile;
|
|
dotwaitFile = getProjSearchPath();
|
|
dotwaitFile += "/.wait";
|
|
return dotwaitFile;
|
|
}
|
|
|