peer_bubble.h 542 B

1234567891011121314151617181920212223242526
  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. template <typename Object>
  9. class object_ptr;
  10. class PeerData;
  11. namespace Ui {
  12. class RpWidget;
  13. class VerticalLayout;
  14. } // namespace Ui
  15. namespace Ui {
  16. [[nodiscard]] object_ptr<Ui::RpWidget> CreatePeerBubble(
  17. not_null<Ui::RpWidget*> parent,
  18. not_null<PeerData*> peer);
  19. } // namespace Ui