--------------------------------- ScreenshotCapture::Initialize Mount all screenshot files that are in the desired directory
| 32 | // Mount all screenshot files that are in the desired directory |
| 33 | // |
| 34 | void ScreenshotCapture::Initialize(std::string basePath) |
| 35 | { |
| 36 | if (basePath.size() == 0) |
| 37 | { |
| 38 | basePath = "./"; |
| 39 | } |
| 40 | else if (basePath[basePath.size()-1] != '/') |
| 41 | { |
| 42 | basePath += '/'; |
| 43 | } |
| 44 | m_BaseDir = new core::Directory(basePath, nullptr, true); |
| 45 | } |
| 46 | |
| 47 | //--------------------------------- |
| 48 | // ScreenshotCapture::Take |
nothing calls this directly
no outgoing calls
no test coverage detected