aboutsummaryrefslogtreecommitdiff
path: root/libs/installer_fomod_plus/share/xml/XmlHelper.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/installer_fomod_plus/share/xml/XmlHelper.h')
-rw-r--r--libs/installer_fomod_plus/share/xml/XmlHelper.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/libs/installer_fomod_plus/share/xml/XmlHelper.h b/libs/installer_fomod_plus/share/xml/XmlHelper.h
deleted file mode 100644
index 6934a86..0000000
--- a/libs/installer_fomod_plus/share/xml/XmlHelper.h
+++ /dev/null
@@ -1,17 +0,0 @@
-#pragma once
-
-#include "ModuleConfiguration.h"
-
-class XmlHelper {
-public:
- static OrderTypeEnum getOrderType(const std::string& orderType, OrderTypeEnum defaultOrder = OrderTypeEnum::Explicit)
- {
- if (orderType == "Explicit")
- return OrderTypeEnum::Explicit;
- if (orderType == "Ascending")
- return OrderTypeEnum::Ascending;
- if (orderType == "Descending")
- return OrderTypeEnum::Descending;
- return defaultOrder; // Ascending for plugins, Explicit for groups
- }
-}; \ No newline at end of file