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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user