diff options
| author | SulfurNitride <SulfurNitride@users.noreply.github.com> | 2026-02-11 02:37:39 -0600 |
|---|---|---|
| committer | SulfurNitride <SulfurNitride@users.noreply.github.com> | 2026-02-11 02:37:39 -0600 |
| commit | 7ee008e150bc5bcf76082d726f719ee0fdfda982 (patch) | |
| tree | 27fb39be241fdb5ac2734c574de678977d1856d0 /libs/lootcli/src/pch.h | |
Fluorine Manager: full Linux port of Mod Organizer 2
Complete native Linux port with FUSE-based virtual filesystem,
Proton/umu-run integration, and Flatpak packaging.
Key features:
- FUSE VFS replacing Windows USVFS (in-process + standalone helper for Flatpak)
- Proton/GE-Proton/umu-run launcher with env var forwarding
- Flatpak support (sandbox-aware VFS, NXM handler, umu-run)
- Wine prefix management UI
- Case-insensitive path resolution for Linux filesystems
- QSettings-safe INI handling (avoids Bethesda INI corruption)
- Portable instance support with auto-generated launcher scripts
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'libs/lootcli/src/pch.h')
| -rw-r--r-- | libs/lootcli/src/pch.h | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/libs/lootcli/src/pch.h b/libs/lootcli/src/pch.h new file mode 100644 index 0000000..cf460fd --- /dev/null +++ b/libs/lootcli/src/pch.h @@ -0,0 +1,84 @@ +#ifdef _MSC_VER +#pragma warning(disable : 4251) // neds to have dll-interface +#pragma warning(disable : 4355) // this used in initializer list +#pragma warning(disable : 4371) // layout may have changed +#pragma warning(disable : 4514) // unreferenced inline function removed +#pragma warning(disable : 4571) // catch semantics changed +#pragma warning(disable : 4619) // no warning X +#pragma warning(disable : 4623) // default constructor deleted +#pragma warning(disable : 4625) // copy constructor deleted +#pragma warning(disable : 4626) // copy assignment operator deleted +#pragma warning(disable : 4710) // function not inlined +#pragma warning(disable : 4820) // padding +#pragma warning(disable : 4866) // left-to-right evaluation order +#pragma warning(disable : 4868) // left-to-right evaluation order +#pragma warning(disable : 5026) // move constructor deleted +#pragma warning(disable : 5027) // move assignment operator deleted +#pragma warning(disable : 5045) // spectre mitigation + +#pragma warning(push, 3) +#pragma warning(disable : 4365) // signed/unsigned mismatch +#pragma warning(disable : 4774) // bad format string +#pragma warning(disable : 4946) // reinterpret_cast used between related classes +#pragma warning(disable : 4800) // implicit conversion +#endif + +// std +#include <algorithm> +#include <cstdint> +#include <cstring> +#include <exception> +#include <filesystem> +#include <fstream> +#include <iostream> +#include <locale> +#include <map> +#include <memory> +#include <mutex> +#include <optional> +#include <regex> +#include <set> +#include <sstream> +#include <stdexcept> +#include <string> +#include <thread> +#include <utility> +#include <vector> + +// qt +#include <QDir> +#include <QFileInfo> +#include <QJsonArray> +#include <QJsonDocument> +#include <QJsonObject> + +// boost +#include <boost/algorithm/string.hpp> +#include <boost/lexical_cast.hpp> +#include <boost/locale.hpp> + +// loot +#include <loot/api.h> +#include <loot/enum/game_type.h> + +// third-party +#include <toml++/toml.h> + +#ifdef _WIN32 +// windows +#define WIN32_LEAN_AND_MEAN +#include <Shlobj.h> +#include <Windows.h> +#include <fcntl.h> +#include <io.h> +#include <shellapi.h> +#else +// Linux equivalents +#include <cstdlib> +#include <unistd.h> +#endif + +#ifdef _MSC_VER +#undef _SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING +#pragma warning(pop) +#endif |
