2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-11-18 03:02:07 +00:00

chore: only one header per modman platform handler

This commit is contained in:
Jan Laupetin
2025-11-02 19:01:22 +00:00
parent d964929681
commit 2aeaa417b6
21 changed files with 99 additions and 181 deletions

View File

@@ -1,6 +1,7 @@
#include "AssetHandlerLinux.h"
#include "Web/Platform/FaviconHandler.h"
#include "Web/Platform/Platform.h"
#if defined(WEBVIEW_PLATFORM_LINUX) && defined(WEBVIEW_GTK)
#ifdef PLATFORM_LINUX
#include "Web/UiAssets.h"
@@ -8,15 +9,14 @@
#include <iostream>
#include <unordered_map>
using namespace PLATFORM_NAMESPACE_LINUX;
namespace
namespace ui
{
} // namespace
namespace PLATFORM_NAMESPACE_LINUX
{
void InstallFaviconHandler(webview::webview& wv) {}
} // namespace PLATFORM_NAMESPACE_LINUX
void InstallFaviconHandler(webview::webview& wv)
{
// The icon system on Linux works a bit different than on Windows
// and doesn't really support this kind of dynamic icon setting
// we skip it for now
}
} // namespace ui
#endif