tdesktop/Telegram/SourceFiles/platform/win/overlay_widget_win.h

21 lines
525 B
C++

/*
This file is part of Telegram Desktop,
the official desktop application for the Telegram messaging service.
For license and copyright information please follow this link:
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
*/
#pragma once
namespace Platform {
inline std::unique_ptr<OverlayWidgetHelper> CreateOverlayWidgetHelper(
not_null<Ui::RpWindow*> window,
Fn<void(bool)> maximize) {
return std::make_unique<DefaultOverlayWidgetHelper>(
window,
std::move(maximize));
}
} // namespace Platform