window_main_menu_helpers.h 781 B

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. This file is part of Telegram Desktop,
  3. the official desktop application for the Telegram messaging service.
  4. For license and copyright information please follow this link:
  5. https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
  6. */
  7. #pragma once
  8. namespace Ui {
  9. class FlatLabel;
  10. class RpWidget;
  11. class SettingsButton;
  12. class VerticalLayout;
  13. } // namespace Ui
  14. namespace Window {
  15. class SessionController;
  16. [[nodiscard]] not_null<Ui::FlatLabel*> AddVersionLabel(
  17. not_null<Ui::RpWidget*>);
  18. [[nodiscard]] not_null<Ui::SettingsButton*> AddMyChannelsBox(
  19. not_null<Ui::SettingsButton*> button,
  20. not_null<SessionController*> controller,
  21. bool chats);
  22. void SetupMenuBots(
  23. not_null<Ui::VerticalLayout*> container,
  24. not_null<SessionController*> controller);
  25. } // namespace Window