mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Build new tgcalls with C++20 on Windows.
This commit is contained in:
@@ -36,6 +36,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
|
||||
namespace tgcalls {
|
||||
class InstanceImpl;
|
||||
class InstanceV2Impl;
|
||||
class InstanceImplLegacy;
|
||||
class InstanceImplReference;
|
||||
void SetLegacyGlobalServerConfig(const std::string &serverConfig);
|
||||
@@ -50,8 +51,9 @@ constexpr auto kSha256Size = 32;
|
||||
constexpr auto kAuthKeySize = 256;
|
||||
const auto kDefaultVersion = "2.4.4"_q;
|
||||
|
||||
const auto RegisterTag = tgcalls::Register<tgcalls::InstanceImpl>();
|
||||
const auto RegisterTagLegacy = tgcalls::Register<tgcalls::InstanceImplLegacy>();
|
||||
const auto Register = tgcalls::Register<tgcalls::InstanceImpl>();
|
||||
const auto RegisterV2 = tgcalls::Register<tgcalls::InstanceV2Impl>();
|
||||
const auto RegisterLegacy = tgcalls::Register<tgcalls::InstanceImplLegacy>();
|
||||
|
||||
void AppendEndpoint(
|
||||
std::vector<tgcalls::Endpoint> &list,
|
||||
|
||||
Vendored
+1
-1
Submodule Telegram/ThirdParty/tgcalls updated: f76a9290fa...f340af67a0
@@ -7,7 +7,7 @@
|
||||
add_library(lib_tgcalls STATIC)
|
||||
|
||||
if (WIN32)
|
||||
init_target(lib_tgcalls cxx_std_17) # Small amount of patches required here.
|
||||
init_target(lib_tgcalls) # Small amount of patches required here.
|
||||
elseif (LINUX)
|
||||
init_target(lib_tgcalls) # All C++20 on Linux, because otherwise ODR violation.
|
||||
else()
|
||||
@@ -62,6 +62,15 @@ PRIVATE
|
||||
VideoCaptureInterfaceImpl.h
|
||||
VideoCapturerInterface.h
|
||||
|
||||
v2/InstanceV2Impl.cpp
|
||||
v2/InstanceV2Impl.h
|
||||
v2/NativeNetworkingImpl.cpp
|
||||
v2/NativeNetworkingImpl.h
|
||||
v2/Signaling.cpp
|
||||
v2/Signaling.h
|
||||
v2/SignalingEncryption.cpp
|
||||
v2/SignalingEncryption.h
|
||||
|
||||
# Desktop capturer
|
||||
desktop_capturer/DesktopCaptureSource.h
|
||||
desktop_capturer/DesktopCaptureSource.cpp
|
||||
|
||||
Reference in New Issue
Block a user