| 384 | } |
| 385 | |
| 386 | bool BootApp::Init() |
| 387 | { |
| 388 | char* cwdPtr = getcwd(NULL, 0); |
| 389 | mWorkingDir = cwdPtr; |
| 390 | free(cwdPtr); |
| 391 | |
| 392 | if ((mTargetPath.IsEmpty()) && (mCESrc.IsEmpty())) |
| 393 | { |
| 394 | Fail("'Out' path not specified"); |
| 395 | } |
| 396 | |
| 397 | if (mRequestedSrc.IsEmpty()) |
| 398 | { |
| 399 | Fail("No source specified"); |
| 400 | } |
| 401 | |
| 402 | return !mHadErrors; |
| 403 | } |
| 404 | |
| 405 | void BootApp::QueueFile(const StringImpl& path, void* project) |
| 406 | { |