settings_business.h 692 B

12345678910111213141516171819202122232425262728293031
  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. #include "settings/settings_type.h"
  9. enum class PremiumFeature;
  10. namespace Main {
  11. class Session;
  12. } // namespace Main
  13. namespace Window {
  14. class SessionController;
  15. } // namespace Window
  16. namespace Settings {
  17. [[nodiscard]] Type BusinessId();
  18. void ShowBusiness(not_null<Window::SessionController*> controller);
  19. [[nodiscard]] std::vector<PremiumFeature> BusinessFeaturesOrder(
  20. not_null<::Main::Session*> session);
  21. } // namespace Settings