/* 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/weak_ptr.h" namespace Main { class Session; } // namespace Main namespace Ui::Toast { class Instance; } // namespace Ui::Toast namespace HistoryView { class InfoTooltip final { public: InfoTooltip(); void show( not_null parent, not_null session, const TextWithEntities &text, Fn hiddenCallback); void hide(anim::type animated); private: base::weak_ptr _topToast; }; } // namespace HistoryView