// This file is part of Desktop App Toolkit, // a set of libraries for developing nice desktop applications. // // For license and copyright information please follow this link: // https://github.com/desktop-app/legal/blob/master/LEGAL // #pragma once #include "ui/platform/ui_platform_utility.h" #include "base/platform/base_platform_info.h" #include namespace Ui { namespace Platform { inline bool TranslucentWindowsSupported() { return true; } inline void UpdateOverlayed(not_null widget) { } inline void ClearTransientParent(not_null widget) { } inline constexpr bool UseMainQueueGeneric() { return ::Platform::IsMacStoreBuild(); } inline bool WindowExtentsSupported() { return false; } inline void SetWindowExtents(not_null widget, const QMargins &extents) { } inline void UnsetWindowExtents(not_null widget) { } inline void ShowWindowMenu(not_null widget, const QPoint &point) { } } // namespace Platform } // namespace Ui