i think? this is better??

This commit is contained in:
Mars 2025-03-11 15:56:54 -04:00
parent b3e79b56f7
commit c3b829b68f
Signed by: pupbrained
GPG key ID: 0FF5B8826803F895
11 changed files with 413 additions and 678 deletions

View file

@ -8,9 +8,7 @@
#include <guiddef.h>
#include <variant>
#include <winrt/base.h>
#endif
#ifdef __APPLE__
#else
#include <variant>
#endif
@ -151,13 +149,13 @@ enum class NowPlayingCode : u8 {
* @brief Represents a Linux-specific error.
*/
using LinuxError = std::string;
#elif defined(__APPLE__)
#elifdef __APPLE__
/**
* @typedef MacError
* @brief Represents a macOS-specific error.
*/
using MacError = std::string;
#elif defined(_WIN32)
#elifdef _WIN32
/**
* @typedef WindowsError
* @brief Represents a Windows-specific error.
@ -170,9 +168,9 @@ using NowPlayingError = std::variant<
NowPlayingCode,
#ifdef __linux__
LinuxError
#elif defined(__APPLE__)
#elifdef __APPLE__
MacError
#elif defined(_WIN32)
#elifdef _WIN32
WindowsError
#endif
>;