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/lib/PatchFinder.h | 49 ---------------------- 1 file changed, 49 deletions(-) delete mode 100644 libs/installer_fomod_plus/patchwizard/lib/PatchFinder.h (limited to 'libs/installer_fomod_plus/patchwizard/lib/PatchFinder.h') diff --git a/libs/installer_fomod_plus/patchwizard/lib/PatchFinder.h b/libs/installer_fomod_plus/patchwizard/lib/PatchFinder.h deleted file mode 100644 index 02327e3..0000000 --- a/libs/installer_fomod_plus/patchwizard/lib/PatchFinder.h +++ /dev/null @@ -1,49 +0,0 @@ -#pragma once - -#include "../../installer/lib/Logger.h" - -#include -#include -#include -#include - -struct AvailablePatch { - FomodOption fomod_option; - std::string installer_name; - std::string patch_for_mod; - bool installed = false; - bool hidden = false; - bool userDeselected = false; // True if user explicitly chose not to install -}; - -class PatchFinder { -friend class FomodPlusPatchWizard; - -public: - explicit PatchFinder(MOBase::IOrganizer* m_organizer) : m_organizer(m_organizer) - { - mFomodDb = std::make_unique(m_organizer->basePath().toStdString()); - logMessage(DEBUG, "mFomodDb loaded."); - } - - std::vector getAvailablePatchesForMod(const MOBase::IModInterface* mod); - std::vector getAvailablePatchesForModList(); - -protected: - void populateInstalledPlugins(); - -private: - Logger& log = Logger::getInstance(); - MOBase::IOrganizer* m_organizer; - std::unique_ptr mFomodDb; - - // Map of { pluginPtr: [1.esp, 2.esp, 3.esp] } - std::unordered_map > m_installedPlugins; - std::unordered_set m_installedPluginsCacheSet; - - 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