emoji_sets_manager.h 685 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. #include "ui/layers/box_content.h"
  9. namespace Main {
  10. class Session;
  11. } // namespace Main
  12. namespace Ui {
  13. namespace Emoji {
  14. class ManageSetsBox final : public Ui::BoxContent {
  15. public:
  16. ManageSetsBox(QWidget*, not_null<Main::Session*> session);
  17. private:
  18. void prepare() override;
  19. const not_null<Main::Session*> _session;
  20. };
  21. void LoadAndSwitchTo(not_null<Main::Session*> session, int id);
  22. } // namespace Emoji
  23. } // namespace Ui