Limo
A simple mod manager
Loading...
Searching...
No Matches
openmwarchivedeployer.h
Go to the documentation of this file.
1
5
6#pragma once
7
8#include "plugindeployer.h"
9
10
15{
16public:
23 OpenMwArchiveDeployer(const std::filesystem::path& source_path,
24 const std::filesystem::path& dest_path,
25 const std::string& name);
26
31 virtual void unDeploy(std::optional<ProgressNode*> progress_node = {}) override;
36 virtual bool supportsSorting() const override;
41 virtual bool supportsModConflicts() const override;
42
43protected:
45 static constexpr std::string OPEN_MW_CONFIG_FILE_NAME = "openmw.cfg";
46
48 virtual void writePlugins() const override;
50 virtual void updatePluginTags() override;
55 bool initPluginFile();
56};
virtual bool supportsModConflicts() const override
Returns whether or not this deployer type supports showing mod conflicts.
Definition openmwarchivedeployer.cpp:48
virtual void updatePluginTags() override
Tags are not supported by this type.
Definition openmwarchivedeployer.cpp:109
bool initPluginFile()
Initializes the plugin file, if it does not exist.
Definition openmwarchivedeployer.cpp:111
OpenMwArchiveDeployer(const std::filesystem::path &source_path, const std::filesystem::path &dest_path, const std::string &name)
Loads plugins.
Definition openmwarchivedeployer.cpp:12
virtual void unDeploy(std::optional< ProgressNode * > progress_node={}) override
If no backup exists: Backs up current plugin file, then reloads all plugins.
Definition openmwarchivedeployer.cpp:32
static constexpr std::string OPEN_MW_CONFIG_FILE_NAME
Name of the OpenMW config file.
Definition openmwarchivedeployer.h:45
virtual void writePlugins() const override
Writes current load order to openmw config file.
Definition openmwarchivedeployer.cpp:53
virtual bool supportsSorting() const override
Returns whether or not this deployer type supports sorting mods.
Definition openmwarchivedeployer.cpp:43
PluginDeployer(const std::filesystem::path &source_path, const std::filesystem::path &dest_path, const std::string &name)
Constructor.
Definition plugindeployer.cpp:17
Header for the PluginDeployer class.