MCPcopy Create free account
hub / github.com/bluescan/tacentview / FindImagesInImageToLoadDir

Method FindImagesInImageToLoadDir

Src/TacentView.cpp:730–743  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

728
729
730tString Viewer::FindImagesInImageToLoadDir(tList<tSystem::tFileInfo>& foundFiles)
731{
732 tString imagesDir;
733 if (!ImageToLoad.IsEmpty() && tSystem::tIsAbsolutePath(ImageToLoad))
734 imagesDir = tSystem::tGetDir(ImageToLoad);
735 else
736 imagesDir = tSystem::tGetCurrentDir();
737
738 tPrintf("Finding image files in %s\n", imagesDir.Chr());
739 tSystem::tExtensions extensions(FileTypes_Load);
740 tSystem::tFindFiles(foundFiles, imagesDir, extensions);
741
742 return imagesDir;
743}
744
745
746tuint256 Viewer::ComputeImagesHash(const tList<tSystem::tFileInfo>& files)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected