Remove useless forward declarations.

GitOrigin-RevId: 4cc2b0e76ff6af8408a261858292053c7b15a17a
This commit is contained in:
levlam 2020-02-23 23:00:51 +03:00
parent e34058c16f
commit 419ecd5904
2 changed files with 2 additions and 12 deletions

View File

@ -6,9 +6,6 @@
//
#include "td/telegram/CallDiscardReason.h"
#include "td/telegram/td_api.h"
#include "td/telegram/telegram_api.h"
#include "td/utils/common.h"
namespace td {

View File

@ -6,20 +6,13 @@
//
#pragma once
#include "td/tl/TlObject.h"
#include "td/telegram/td_api.h"
#include "td/telegram/telegram_api.h"
#include "td/utils/int_types.h"
namespace td {
namespace td_api {
class CallDiscardReason;
} // namespace td_api
namespace telegram_api {
class PhoneCallDiscardReason;
} // namespace telegram_api
enum class CallDiscardReason : int32 { Empty, Missed, Disconnected, HungUp, Declined };
CallDiscardReason get_call_discard_reason(const tl_object_ptr<telegram_api::PhoneCallDiscardReason> &reason);