AyuGramDesktop/Telegram/SourceFiles/settings/settings_credits.h

26 lines
567 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 "settings/settings_type.h"
namespace Ui {
class RpWidget;
} // namespace Ui
namespace Settings {
[[nodiscard]] Type CreditsId();
[[nodiscard]] not_null<Ui::RpWidget*> AddBalanceWidget(
not_null<Ui::RpWidget*> parent,
rpl::producer<uint64> balanceValue,
bool rightAlign);
} // namespace Settings