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

Function resolveFunction

src/installationmanager.cpp:69–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67
68template <typename T>
69static T resolveFunction(QLibrary& lib, const char* name)
70{
71 T temp = reinterpret_cast<T>(lib.resolve(name));
72 if (temp == nullptr) {
73 throw std::runtime_error(QObject::tr("invalid 7-zip32.dll: %1")
74 .arg(lib.errorString())
75 .toLatin1()
76 .constData());
77 }
78 return temp;
79}
80
81InstallationManager::InstallationManager() : m_ParentWidget(nullptr), m_IsRunning(false)
82{

Callers

nothing calls this directly

Calls 1

resolveMethod · 0.45

Tested by

no test coverage detected