mirror of
https://github.com/ars3niy/tdlib-purple
synced 2025-08-22 09:57:52 +00:00
Removed unused function
This commit is contained in:
parent
4b6fbb1b2b
commit
ef24d620f1
@ -232,14 +232,6 @@ uint64_t TdTransceiver::sendQuery(td::td_api::object_ptr<td::td_api::Function> f
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
uint64_t TdTransceiver::sendQueryWithTimeout(td::td_api::object_ptr<td::td_api::Function> f,
|
|
||||||
ResponseCb handler, unsigned timeoutSeconds)
|
|
||||||
{
|
|
||||||
uint64_t queryId = sendQuery(std::move(f), handler);
|
|
||||||
setQueryTimer(queryId, handler, timeoutSeconds, true);
|
|
||||||
return queryId;
|
|
||||||
}
|
|
||||||
|
|
||||||
uint64_t TdTransceiver::sendQueryWithTimeout(td::td_api::object_ptr<td::td_api::Function> f,
|
uint64_t TdTransceiver::sendQueryWithTimeout(td::td_api::object_ptr<td::td_api::Function> f,
|
||||||
ResponseCb2 handler, unsigned timeoutSeconds)
|
ResponseCb2 handler, unsigned timeoutSeconds)
|
||||||
{
|
{
|
||||||
|
@ -44,8 +44,6 @@ public:
|
|||||||
uint64_t sendQuery(td::td_api::object_ptr<td::td_api::Function> f, ResponseCb handler);
|
uint64_t sendQuery(td::td_api::object_ptr<td::td_api::Function> f, ResponseCb handler);
|
||||||
uint64_t sendQuery(td::td_api::object_ptr<td::td_api::Function> f, ResponseCb2 handler);
|
uint64_t sendQuery(td::td_api::object_ptr<td::td_api::Function> f, ResponseCb2 handler);
|
||||||
|
|
||||||
uint64_t sendQueryWithTimeout(td::td_api::object_ptr<td::td_api::Function> f,
|
|
||||||
ResponseCb handler, unsigned timeoutSeconds);
|
|
||||||
uint64_t sendQueryWithTimeout(td::td_api::object_ptr<td::td_api::Function> f,
|
uint64_t sendQueryWithTimeout(td::td_api::object_ptr<td::td_api::Function> f,
|
||||||
ResponseCb2 handler, unsigned timeoutSeconds);
|
ResponseCb2 handler, unsigned timeoutSeconds);
|
||||||
void setQueryTimer(uint64_t queryId, ResponseCb handler, unsigned timeoutSeconds,
|
void setQueryTimer(uint64_t queryId, ResponseCb handler, unsigned timeoutSeconds,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user