ZaStoGram_desktop/Telegram/SourceFiles/ui/webview_helpers.h
John Preston 6705390a73 Remove venue selection and sending from the location box
Task: 2026/11/02/remove-venue-selection-and-sending-from-the-location-box
2026-11-03 08:10:34 +04:00

22 lines
589 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
#include "base/flat_map.h"
namespace Ui {
[[nodiscard]] QByteArray ComputeStyles(
const base::flat_map<QByteArray, const style::color*> &colors,
int zoom,
bool nightTheme = false);
[[nodiscard]] QByteArray EscapeForAttribute(QByteArray value);
[[nodiscard]] QByteArray EscapeForScriptString(QByteArray value);
} // namespace Ui