MCPcopy Create free account
hub / github.com/ModOrganizer2/modorganizer / canPreviewFile

Function canPreviewFile

src/filetree.cpp:15–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13using namespace MOBase;
14
15bool canPreviewFile(const PluginContainer& pc, const FileEntry& file)
16{
17 return canPreviewFile(pc, file.isFromArchive(),
18 QString::fromStdWString(file.getName()));
19}
20
21bool canRunFile(const FileEntry& file)
22{

Callers 5

canPreviewMethod · 0.70
addOpenMenusMethod · 0.70
onActivatedMethod · 0.70
onContextMenuMethod · 0.70
activateItemsMethod · 0.70

Calls 2

isFromArchiveMethod · 0.45
getNameMethod · 0.45

Tested by

no test coverage detected