diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-12-04 07:58:58 +0100 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-12-04 07:58:58 +0100 |
| commit | a6654eaec8190d7f9297a35499f8271a8f28176c (patch) | |
| tree | 19286421ace365c694e28f9cb201e74d2759f1ff /src/plugincontainer.h | |
| parent | 1a486a09428e30596bc47867917156bcffdb7632 (diff) | |
Centralize loading Qt plugin in loadQtPlugin.
Diffstat (limited to 'src/plugincontainer.h')
| -rw-r--r-- | src/plugincontainer.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/plugincontainer.h b/src/plugincontainer.h index 213aaa70..43c7973f 100644 --- a/src/plugincontainer.h +++ b/src/plugincontainer.h @@ -395,6 +395,13 @@ private: std::vector<MOBase::IPlugin*> loadProxied(const QString& filepath, MOBase::IPluginProxy* proxy);
/**
+ * @brief Load the Qt plugin from the given file.
+ *
+ * @param filepath Path to the DLL containing the Qt plugin.
+ */
+ MOBase::IPlugin* loadQtPlugin(const QString& filepath);
+
+ /**
* @brief Simulate MO2 startup for the given plugins.
*
* @param plugins Plugins to simulate startup for.
|
