| 50 | //----------------------------------------------------------------------------- |
| 51 | |
| 52 | void setScriptPathExpando(const char *expando, const char *path, bool toolsOnly /*= false*/) |
| 53 | { |
| 54 | PathExpando *exp = sgPathExpandos.retreive(expando); |
| 55 | if(exp) |
| 56 | { |
| 57 | exp->mPath = StringTable->insert(path); |
| 58 | exp->mIsToolsOnly = toolsOnly; |
| 59 | } |
| 60 | else |
| 61 | { |
| 62 | exp = new PathExpando; |
| 63 | exp->mPath = StringTable->insert(path); |
| 64 | exp->mIsToolsOnly = toolsOnly; |
| 65 | sgPathExpandos.insert(exp, expando); |
| 66 | } |
| 67 | } |
| 68 | |
| 69 | void removeScriptPathExpando(const char *expando) |
| 70 | { |
no test coverage detected