platform_integration.h 493 B

1234567891011121314151617181920212223
  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 Platform {
  9. class Integration {
  10. public:
  11. virtual void init() {
  12. }
  13. virtual ~Integration();
  14. [[nodiscard]] static std::unique_ptr<Integration> Create();
  15. [[nodiscard]] static Integration &Instance();
  16. };
  17. } // namespace Platform