aboutsummaryrefslogtreecommitdiff
path: root/libs/script_extender_checker_native/src/scriptextenderchecker.h
diff options
context:
space:
mode:
authorSulfurNitride <SulfurNitride@users.noreply.github.com>2026-04-12 02:40:00 -0500
committerSulfurNitride <SulfurNitride@users.noreply.github.com>2026-04-12 02:40:00 -0500
commite0fb66428a9b78b4c326df8d7e30429a5b271d74 (patch)
tree0fd83fe790ecb7d5cd3cfb36535e45d1b7118098 /libs/script_extender_checker_native/src/scriptextenderchecker.h
parente985dc340097831d4e5625941bded217abaa57b8 (diff)
Remove dead plugin scaffolds and duplicate lib dirs
The *_native C++ ports were replaced by bundled Python + .py plugins in de4db79, but the source dirs were left behind without any CMake wiring — causing confusion when editing them appears to do nothing. Same story for libs/dds_header (stale duplicate of libs/preview_dds, unrelated to the actively-used libs/dds-header) and libs/game_gamebryo (superseded by libs/game_bethesda/src/gamebryo). Removes: - libs/basic_games_native - libs/form43_checker_native - libs/installer_omod_native - libs/preview_dds_native - libs/rootbuilder_native - libs/script_extender_checker_native - libs/dds_header - libs/game_gamebryo
Diffstat (limited to 'libs/script_extender_checker_native/src/scriptextenderchecker.h')
-rw-r--r--libs/script_extender_checker_native/src/scriptextenderchecker.h72
1 files changed, 0 insertions, 72 deletions
diff --git a/libs/script_extender_checker_native/src/scriptextenderchecker.h b/libs/script_extender_checker_native/src/scriptextenderchecker.h
deleted file mode 100644
index 8dbadcb..0000000
--- a/libs/script_extender_checker_native/src/scriptextenderchecker.h
+++ /dev/null
@@ -1,72 +0,0 @@
-#ifndef SCRIPTEXTENDERCHECKER_H
-#define SCRIPTEXTENDERCHECKER_H
-
-#include <memory>
-
-#include <QString>
-#include <QStringList>
-
-#include <uibase/iplugin.h>
-#include <uibase/iplugindiagnose.h>
-#include <uibase/pluginrequirements.h>
-
-class ScriptExtenderChecker : public QObject,
- public MOBase::IPlugin,
- public MOBase::IPluginDiagnose
-{
- Q_OBJECT
- Q_INTERFACES(MOBase::IPlugin MOBase::IPluginDiagnose)
- Q_PLUGIN_METADATA(IID "org.tannin.ScriptExtenderCheckerNative")
-
-public:
- ScriptExtenderChecker();
-
-public: // IPlugin
- bool init(MOBase::IOrganizer* moInfo) override;
- QString name() const override;
- QString localizedName() const override;
- QString author() const override;
- QString description() const override;
- MOBase::VersionInfo version() const override;
- std::vector<std::shared_ptr<const MOBase::IPluginRequirement>>
- requirements() const override;
- QList<MOBase::PluginSetting> settings() const override;
-
-public: // IPluginDiagnose
- std::vector<unsigned int> activeProblems() const override;
- QString shortDescription(unsigned int key) const override;
- QString fullDescription(unsigned int key) const override;
- bool hasGuidedFix(unsigned int key) const override;
- void startGuidedFix(unsigned int key) const override;
-
-private:
- static const unsigned int PROBLEM_PLUGIN_LOAD = 0;
-
- enum class LogLocation { Docs, Install };
-
- struct GameType {
- LogLocation base;
- QString gameSuffix;
- QString editorSuffix; // empty if no editor log
- };
-
- struct PluginMessage {
- QString pluginPath;
- QString origin;
- QString message;
- bool success;
- };
-
- QStringList listBadPluginMessages() const;
- QList<PluginMessage> parseLog(const QString& logPath) const;
- PluginMessage parseNormalLine(const QRegularExpressionMatch& match) const;
- PluginMessage parseCouldntLoadLine(const QRegularExpressionMatch& match) const;
- PluginMessage parseNotAPluginLine(const QRegularExpressionMatch& match) const;
- QString resolveOrigin(const QString& pluginPath) const;
-
- static const QMap<QString, GameType>& supportedGames();
-
- MOBase::IOrganizer* m_organizer;
-};
-
-#endif // SCRIPTEXTENDERCHECKER_H