smartglocal_callbacks.h 424 B

12345678910111213141516171819
  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 <functional>
  9. namespace SmartGlocal {
  10. class Token;
  11. class Error;
  12. using TokenCompletionCallback = std::function<void(Token, Error)>;
  13. } // namespace SmartGlocal