From 05aa96d20ca726908a7d8b1943f86f0c4e11bf18 Mon Sep 17 00:00:00 2001 From: SulfurNitride Date: Wed, 17 Jun 2026 01:46:09 -0500 Subject: Prepare Nexus-safe release cleanup --- .../patchwizard/FomodPlusPatchWizard.h | 54 ---------------------- 1 file changed, 54 deletions(-) delete mode 100644 libs/installer_fomod_plus/patchwizard/FomodPlusPatchWizard.h (limited to 'libs/installer_fomod_plus/patchwizard/FomodPlusPatchWizard.h') diff --git a/libs/installer_fomod_plus/patchwizard/FomodPlusPatchWizard.h b/libs/installer_fomod_plus/patchwizard/FomodPlusPatchWizard.h deleted file mode 100644 index 2324fb0..0000000 --- a/libs/installer_fomod_plus/patchwizard/FomodPlusPatchWizard.h +++ /dev/null @@ -1,54 +0,0 @@ -#pragma once -#include "../installer/lib/Logger.h" -#include "lib/PatchFinder.h" - -#include -#include - -using namespace MOBase; - -class FomodPlusPatchWizard final : public IPluginTool { - Q_OBJECT - Q_INTERFACES(MOBase::IPlugin MOBase::IPluginTool) -#if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0) - Q_PLUGIN_METADATA(IID "io.clearing.FomodPlusPatchWizard" FILE "fomodpluspatchwizard.json") -#endif - -public: - bool init(IOrganizer* organizer) override; - - [[nodiscard]] QString name() const override { return tr("Patch Wizard"); }; - - [[nodiscard]] QString author() const override { return "clearing"; }; - - [[nodiscard]] QString description() const override { return tr("Find missing patches from FOMODs in your load order."); }; - - [[nodiscard]] VersionInfo version() const override { return { 1, 0, 0, VersionInfo::RELEASE_BETA }; }; - - [[nodiscard]] QList settings() const override { return {}; }; - - [[nodiscard]] QString displayName() const override { return tr("Patch Wizard"); }; - - [[nodiscard]] QString tooltip() const override { return tr("Find missing patches from FOMODs in your load order."); }; - - [[nodiscard]] QIcon icon() const override { return QIcon(":/fomod/hat"); } - - void display() const override; - -private: - Logger& log = Logger::getInstance(); - QDialog* mDialog{ nullptr }; - IOrganizer* mOrganizer{ nullptr }; - std::unique_ptr mPatchFinder{ nullptr }; - std::vector mAvailablePatches; - - void setupEmptyState() const; - void setupPatchList() const; - void onRescanClicked(); - - void logMessage(const LogLevel level, const std::string& message) const - { - log.logMessage(level, "[PATCHFINDER] " + message); - } - -}; \ No newline at end of file -- cgit v1.3.1