2021-04-07 12:50:55 +00:00
|
|
|
/*
|
|
|
|
This file is part of Telegram Desktop,
|
|
|
|
the official desktop application for the Telegram messaging service.
|
|
|
|
|
|
|
|
For license and copyright information please follow this link:
|
|
|
|
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
|
2021-08-10 20:38:11 +00:00
|
|
|
#include <functional>
|
|
|
|
|
2021-04-07 12:50:55 +00:00
|
|
|
namespace SmartGlocal {
|
|
|
|
|
|
|
|
class Token;
|
|
|
|
class Error;
|
|
|
|
|
|
|
|
using TokenCompletionCallback = std::function<void(Token, Error)>;
|
|
|
|
|
|
|
|
} // namespace SmartGlocal
|