From e0fb66428a9b78b4c326df8d7e30429a5b271d74 Mon Sep 17 00:00:00 2001 From: SulfurNitride Date: Sun, 12 Apr 2026 02:40:00 -0500 Subject: Remove dead plugin scaffolds and duplicate lib dirs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- libs/rootbuilder_native/src/rootbuilder.h | 79 ------------------------------- 1 file changed, 79 deletions(-) delete mode 100644 libs/rootbuilder_native/src/rootbuilder.h (limited to 'libs/rootbuilder_native/src/rootbuilder.h') diff --git a/libs/rootbuilder_native/src/rootbuilder.h b/libs/rootbuilder_native/src/rootbuilder.h deleted file mode 100644 index 121bcc1..0000000 --- a/libs/rootbuilder_native/src/rootbuilder.h +++ /dev/null @@ -1,79 +0,0 @@ -#ifndef ROOTBUILDER_NATIVE_H -#define ROOTBUILDER_NATIVE_H - -#include - -#include -#include - -class RootBuilderNative : public MOBase::IPluginTool -{ - Q_OBJECT - Q_INTERFACES(MOBase::IPlugin MOBase::IPluginTool) - Q_PLUGIN_METADATA(IID "com.tannin.ModOrganizer.PluginTool/1.0") - -public: - RootBuilderNative(); - - // IPlugin - bool init(MOBase::IOrganizer* organizer) override; - QString name() const override; - QString localizedName() const override; - QString author() const override; - QString description() const override; - MOBase::VersionInfo version() const override; - QList settings() const override; - bool enabledByDefault() const override; - - // IPluginTool - QString displayName() const override; - QString tooltip() const override; - QIcon icon() const override; - -public slots: - void display() const override; - -private: - // Storage paths - QString storageDir() const; - QString backupDir() const; - QString manifestPath() const; - QString settingsPath() const; - - // Settings (own JSON, not pluginSetting) - QJsonObject loadSettings() const; - void saveSettings(const QJsonObject& settings) const; - bool isAutoEnabled() const; - - // Manifest - QJsonObject loadManifest() const; - void saveManifest(const QJsonObject& manifest) const; - void removeManifest() const; - - // Legacy migration - void migrateLegacy() const; - - // Third-party conflict detection - void checkThirdPartyRootBuilder() const; - - // Build / Clear - int build() const; - int clear() const; - - // File operations - static QString findRootDir(const QString& modPath); - static void reflinkCopy(const QString& src, const QString& dst); - static void ensureReadable(const QString& path); - static void ensureWritable(const QString& path); - static bool forceRemove(const QString& path); - static void cleanupEmptyDirs(const QString& baseDir, - const QStringList& paths); - - // Hooks - bool onAboutToRun(const QString& executable); - void onFinishedRun(const QString& executable, unsigned int exitCode); - - MOBase::IOrganizer* m_organizer = nullptr; -}; - -#endif // ROOTBUILDER_NATIVE_H -- cgit v1.3.1