2018-12-31 20:04:05 +01:00
|
|
|
cmake_minimum_required(VERSION 3.0.2 FATAL_ERROR)
|
|
|
|
|
2021-06-13 04:44:31 +02:00
|
|
|
if (POLICY CMP0065)
|
|
|
|
# do not export symbols from executables
|
|
|
|
# affects compiler checks in project(), so must be set before it
|
|
|
|
cmake_policy(SET CMP0065 NEW)
|
|
|
|
endif()
|
|
|
|
|
2024-05-04 01:45:54 +02:00
|
|
|
project(TDLib VERSION 1.8.29 LANGUAGES CXX C)
|
2018-12-31 20:04:05 +01:00
|
|
|
|
2020-10-29 10:57:30 +01:00
|
|
|
if (NOT DEFINED CMAKE_MODULE_PATH)
|
|
|
|
set(CMAKE_MODULE_PATH "")
|
|
|
|
endif()
|
|
|
|
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMake" "${CMAKE_MODULE_PATH}")
|
|
|
|
|
2020-01-23 18:30:21 +01:00
|
|
|
if (NOT DEFINED CMAKE_INSTALL_LIBDIR)
|
|
|
|
set(CMAKE_INSTALL_LIBDIR "lib")
|
2020-01-24 00:01:07 +01:00
|
|
|
endif()
|
2020-01-24 01:03:18 +01:00
|
|
|
if (NOT DEFINED CMAKE_INSTALL_BINDIR)
|
|
|
|
set(CMAKE_INSTALL_BINDIR "bin")
|
|
|
|
endif()
|
|
|
|
if (NOT DEFINED CMAKE_INSTALL_INCLUDEDIR)
|
|
|
|
set(CMAKE_INSTALL_INCLUDEDIR "include")
|
|
|
|
endif()
|
2020-01-23 18:30:21 +01:00
|
|
|
|
2019-04-04 21:23:06 +02:00
|
|
|
if (POLICY CMP0054)
|
|
|
|
# do not expand quoted arguments
|
|
|
|
cmake_policy(SET CMP0054 NEW)
|
|
|
|
endif()
|
2020-11-03 10:34:34 +01:00
|
|
|
if (POLICY CMP0060)
|
|
|
|
# link libraries by full path
|
|
|
|
cmake_policy(SET CMP0060 NEW)
|
|
|
|
endif()
|
2021-09-01 18:09:50 +02:00
|
|
|
if (POLICY CMP0074)
|
|
|
|
# use environment variables to find libraries
|
|
|
|
cmake_policy(SET CMP0074 NEW)
|
|
|
|
endif()
|
2019-04-04 21:23:06 +02:00
|
|
|
|
2020-10-29 10:57:30 +01:00
|
|
|
include(PreventInSourceBuild)
|
|
|
|
prevent_in_source_build()
|
2018-03-04 02:23:52 +01:00
|
|
|
|
2018-01-21 12:45:24 +01:00
|
|
|
option(TD_ENABLE_JNI "Use \"ON\" to enable JNI-compatible TDLib API.")
|
2018-02-27 23:03:38 +01:00
|
|
|
option(TD_ENABLE_DOTNET "Use \"ON\" to enable generation of C++/CLI or C++/CX TDLib API bindings.")
|
2018-01-21 12:45:24 +01:00
|
|
|
|
2018-02-28 00:22:01 +01:00
|
|
|
if (TD_ENABLE_DOTNET AND (CMAKE_VERSION VERSION_LESS "3.1.0"))
|
|
|
|
message(FATAL_ERROR "CMake 3.1.0 or higher is required. You are running version ${CMAKE_VERSION}.")
|
|
|
|
endif()
|
|
|
|
|
2018-12-31 20:04:05 +01:00
|
|
|
enable_testing()
|
|
|
|
|
|
|
|
if (POLICY CMP0069)
|
2018-02-17 22:27:57 +01:00
|
|
|
option(TD_ENABLE_LTO "Use \"ON\" to enable Link Time Optimization.")
|
|
|
|
|
|
|
|
if (TD_ENABLE_LTO)
|
|
|
|
cmake_policy(SET CMP0069 NEW)
|
|
|
|
include(CheckIPOSupported)
|
|
|
|
check_ipo_supported(RESULT IPO_SUPPORTED)
|
|
|
|
if (IPO_SUPPORTED)
|
2018-03-04 02:23:52 +01:00
|
|
|
# set_property(DIRECTORY PROPERTY INTERPROCEDURAL_OPTIMIZATION TRUE) do not work?
|
2018-02-17 22:27:57 +01:00
|
|
|
string(REPLACE ";" " " CXX_FLAGS_IPO "${CMAKE_CXX_COMPILE_OPTIONS_IPO}")
|
2018-03-19 14:49:39 +01:00
|
|
|
message(STATUS "Use link time optimization CXX options: ${CXX_FLAGS_IPO}")
|
2021-09-08 15:59:57 +02:00
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CXX_FLAGS_IPO}")
|
2018-03-17 22:20:37 +01:00
|
|
|
|
|
|
|
string(REPLACE ";" " " C_FLAGS_IPO "${CMAKE_C_COMPILE_OPTIONS_IPO}")
|
2018-03-19 14:49:39 +01:00
|
|
|
message(STATUS "Use link time optimization C options: ${C_FLAGS_IPO}")
|
2021-09-08 15:59:57 +02:00
|
|
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${C_FLAGS_IPO}")
|
2018-03-17 22:20:37 +01:00
|
|
|
|
|
|
|
string(REPLACE ";" " " LINK_FLAGS_IPO "${CMAKE_CXX_LINK_OPTIONS_IPO}")
|
|
|
|
message(STATUS "Use link time optimization linker options: ${LINK_FLAGS_IPO}")
|
2021-09-08 15:59:57 +02:00
|
|
|
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${LINK_FLAGS_IPO}")
|
2018-02-17 22:27:57 +01:00
|
|
|
endif()
|
2018-12-31 20:04:05 +01:00
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
|
|
|
|
# Configure CCache if available
|
|
|
|
find_program(CCACHE_FOUND ccache)
|
|
|
|
#set(CCACHE_FOUND 0)
|
|
|
|
if (CCACHE_FOUND)
|
|
|
|
message(STATUS "Found ccache")
|
|
|
|
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache)
|
|
|
|
set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK ccache)
|
|
|
|
else()
|
2018-10-14 01:15:16 +02:00
|
|
|
message(STATUS "Could NOT find ccache (this is NOT an error)")
|
2018-12-31 20:04:05 +01:00
|
|
|
endif()
|
|
|
|
|
|
|
|
set(MEMPROF "" CACHE STRING "Use one of \"ON\", \"FAST\" or \"SAFE\" to enable memory profiling. \
|
2018-12-01 02:15:59 +01:00
|
|
|
Works under macOS and Linux when compiled using glibc. \
|
2018-12-31 20:04:05 +01:00
|
|
|
In FAST mode stack is unwinded only using frame pointers, which may fail. \
|
|
|
|
In SAFE mode stack is unwinded using backtrace function from execinfo.h, which may be very slow. \
|
2020-01-06 19:44:09 +01:00
|
|
|
By default both methods are used to achieve the maximum speed and accuracy")
|
2018-12-31 20:04:05 +01:00
|
|
|
|
|
|
|
if (EMSCRIPTEN)
|
|
|
|
# use prebuilt zlib
|
|
|
|
set(ZLIB_FOUND 1)
|
|
|
|
set(ZLIB_LIBRARIES)
|
|
|
|
set(ZLIB_INCLUDE_DIR)
|
|
|
|
|
2020-10-08 13:02:53 +02:00
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -s ALLOW_MEMORY_GROWTH=1 -s MEMFS_APPEND_TO_TYPED_ARRAYS=1 -s USE_ZLIB=1 -s MODULARIZE=1 \
|
2023-10-12 18:45:13 +02:00
|
|
|
-s EXPORT_NAME=\"'createTdwebModule'\" -s WEBSOCKET_URL=\"'wss:#'\" -s EXPORTED_RUNTIME_METHODS=\"['FS','cwrap']\" -lidbfs.js -lworkerfs.js")
|
2020-11-01 09:58:01 +01:00
|
|
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -s ALLOW_MEMORY_GROWTH=1 -s MEMFS_APPEND_TO_TYPED_ARRAYS=1 -s USE_ZLIB=1 -s MODULARIZE=1 \
|
2023-10-12 18:45:13 +02:00
|
|
|
-s EXPORT_NAME=\"'createTdwebModule'\" -s WEBSOCKET_URL=\"'wss:#'\" -s EXPORTED_RUNTIME_METHODS=\"['FS','cwrap']\" -lidbfs.js -lworkerfs.js")
|
2018-12-31 20:04:05 +01:00
|
|
|
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -s DEMANGLE_SUPPORT=1 -s ASSERTIONS=1")
|
|
|
|
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -s DEMANGLE_SUPPORT=1 -s ASSERTIONS=1")
|
|
|
|
|
|
|
|
if (ASMJS)
|
|
|
|
set(TD_EMSCRIPTEN td_asmjs)
|
2018-12-24 02:10:26 +01:00
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -s WASM=0 -Wno-almost-asm")
|
|
|
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -s WASM=0 -Wno-almost-asm")
|
2018-12-31 20:04:05 +01:00
|
|
|
else()
|
|
|
|
set(TD_EMSCRIPTEN td_wasm)
|
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -s WASM=1")
|
|
|
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -s WASM=1")
|
|
|
|
endif()
|
2020-10-09 18:40:13 +02:00
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --post-js ${CMAKE_CURRENT_SOURCE_DIR}/post.js")
|
2018-12-31 20:04:05 +01:00
|
|
|
endif()
|
|
|
|
|
|
|
|
if (NOT OPENSSL_FOUND)
|
|
|
|
find_package(OpenSSL)
|
|
|
|
endif()
|
|
|
|
if (OPENSSL_FOUND)
|
|
|
|
message(STATUS "Found OpenSSL: ${OPENSSL_INCLUDE_DIR} ${OPENSSL_LIBRARIES}")
|
|
|
|
endif()
|
|
|
|
|
|
|
|
set(CMAKE_THREAD_PREFER_PTHREAD ON)
|
|
|
|
set(THREADS_PREFER_PTHREAD_FLAG ON)
|
|
|
|
find_package(Threads REQUIRED)
|
|
|
|
|
|
|
|
if (THREADS_HAVE_PTHREAD_ARG)
|
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread")
|
|
|
|
endif()
|
|
|
|
|
2024-02-21 14:31:12 +01:00
|
|
|
include(TdSetUpCompiler)
|
|
|
|
td_set_up_compiler()
|
|
|
|
|
2020-11-01 09:55:51 +01:00
|
|
|
if (MSVC)
|
|
|
|
option(TD_ENABLE_MULTI_PROCESSOR_COMPILATION "Use \"ON\" to enable multi-processor compilation.")
|
|
|
|
|
|
|
|
if (TD_ENABLE_MULTI_PROCESSOR_COMPILATION)
|
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP")
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
|
2020-10-29 13:02:20 +01:00
|
|
|
if (CLANG OR GCC)
|
2018-12-31 20:04:05 +01:00
|
|
|
if (MEMPROF)
|
2020-10-29 13:02:20 +01:00
|
|
|
include(CheckCXXCompilerFlag)
|
2018-06-12 17:45:37 +02:00
|
|
|
check_cxx_compiler_flag(-no-pie CXX_NO_PIE_FLAG)
|
2018-12-31 20:04:05 +01:00
|
|
|
if (CXX_NO_PIE_FLAG)
|
|
|
|
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -no-pie")
|
|
|
|
elseif (APPLE)
|
|
|
|
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-no_pie")
|
|
|
|
endif()
|
2023-03-12 20:37:52 +01:00
|
|
|
include(AddCXXCompilerFlag)
|
|
|
|
add_cxx_compiler_flag("-static-libstdc++")
|
|
|
|
add_cxx_compiler_flag("-static-libgcc")
|
2018-12-31 20:04:05 +01:00
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
|
2022-07-10 16:54:43 +02:00
|
|
|
include(GetGitRevisionDescription)
|
2022-07-11 11:20:31 +02:00
|
|
|
get_git_head_revision(TD_GIT_REFSPEC TD_GIT_COMMIT_HASH)
|
|
|
|
message(STATUS "Git state: ${TD_GIT_COMMIT_HASH}")
|
|
|
|
|
|
|
|
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/td/telegram/GitCommitHash.cpp.in" "${CMAKE_CURRENT_BINARY_DIR}/td/telegram/GitCommitHash.cpp" @ONLY)
|
2022-07-10 16:54:43 +02:00
|
|
|
|
2018-12-31 20:04:05 +01:00
|
|
|
add_subdirectory(tdtl)
|
|
|
|
|
|
|
|
add_subdirectory(tdutils)
|
|
|
|
|
|
|
|
add_subdirectory(td/generate)
|
|
|
|
|
|
|
|
if (NOT CMAKE_CROSSCOMPILING)
|
2018-03-06 12:43:46 +01:00
|
|
|
add_custom_target(prepare_cross_compiling DEPENDS tl_generate_common tdmime_auto tl_generate_json)
|
2018-02-28 19:19:33 +01:00
|
|
|
if (TD_ENABLE_DOTNET)
|
2018-03-16 16:29:16 +01:00
|
|
|
add_custom_target(remove_cpp_documentation
|
2020-01-24 00:01:07 +01:00
|
|
|
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}"
|
2020-02-24 00:00:43 +01:00
|
|
|
COMMAND remove_documentation ${TL_TD_API_AUTO_SOURCE} td/telegram/Client.h td/telegram/Log.h td/tl/TlObject.h
|
2018-03-16 16:29:16 +01:00
|
|
|
COMMENT "Remove C++ documentation from sources"
|
2020-02-24 00:00:43 +01:00
|
|
|
DEPENDS remove_documentation tl_generate_common generate_dotnet_api ${TL_TD_API_AUTO_SOURCE} td/telegram/Client.h td/telegram/Log.h td/tl/TlObject.h
|
2018-03-16 16:29:16 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
add_dependencies(prepare_cross_compiling generate_dotnet_api remove_cpp_documentation)
|
2018-02-28 19:19:33 +01:00
|
|
|
endif()
|
2018-12-31 20:04:05 +01:00
|
|
|
endif()
|
|
|
|
|
|
|
|
if (NOT OPENSSL_FOUND)
|
2020-06-26 01:24:13 +02:00
|
|
|
message(WARNING "Can't find OpenSSL: stop TDLib building")
|
2018-12-31 20:04:05 +01:00
|
|
|
return()
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if (NOT ZLIB_FOUND)
|
|
|
|
find_package(ZLIB)
|
|
|
|
endif()
|
|
|
|
if (NOT ZLIB_FOUND)
|
2020-06-26 01:24:13 +02:00
|
|
|
message(WARNING "Can't find zlib: stop TDLib building")
|
|
|
|
return()
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if (NOT TDUTILS_MIME_TYPE)
|
|
|
|
message(WARNING "Option TDUTILS_MIME_TYPE must not be disabled: stop TDLib building")
|
2018-12-31 20:04:05 +01:00
|
|
|
return()
|
|
|
|
endif()
|
|
|
|
|
|
|
|
add_subdirectory(tdactor)
|
|
|
|
|
|
|
|
add_subdirectory(tdnet)
|
|
|
|
|
|
|
|
add_subdirectory(sqlite)
|
|
|
|
|
|
|
|
add_subdirectory(tddb)
|
|
|
|
|
|
|
|
add_subdirectory(test)
|
|
|
|
|
|
|
|
if (NOT CMAKE_CROSSCOMPILING)
|
|
|
|
add_subdirectory(benchmark)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
|
|
get_directory_property(HAS_PARENT PARENT_DIRECTORY)
|
|
|
|
if (HAS_PARENT)
|
2020-02-23 23:55:13 +01:00
|
|
|
set(TL_TD_JSON_AUTO ${TL_TD_JSON_AUTO_SOURCE} PARENT_SCOPE) # used in tdbot
|
|
|
|
set(TD_TEST_SOURCE ${TD_TEST_SOURCE} PARENT_SCOPE) # used to build tests
|
2018-12-31 20:04:05 +01:00
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
|
|
#SOURCE SETS
|
|
|
|
|
2020-02-24 00:00:43 +01:00
|
|
|
set_source_files_properties(${TL_TD_API_AUTO_SOURCE} PROPERTIES GENERATED TRUE)
|
2019-11-17 21:58:45 +01:00
|
|
|
if (TD_ENABLE_JNI OR ANDROID)
|
2020-02-23 23:55:13 +01:00
|
|
|
set(TL_JNI_OBJECT_SOURCE
|
2018-12-31 20:04:05 +01:00
|
|
|
td/tl/tl_jni_object.cpp
|
|
|
|
td/tl/tl_jni_object.h
|
|
|
|
)
|
|
|
|
else()
|
2020-02-23 23:55:13 +01:00
|
|
|
set(TL_JNI_OBJECT_SOURCE)
|
2018-12-31 20:04:05 +01:00
|
|
|
endif()
|
|
|
|
|
2020-02-24 01:27:06 +01:00
|
|
|
set(TL_TD_API_SOURCE
|
2020-02-24 00:00:43 +01:00
|
|
|
${TL_TD_API_AUTO_SOURCE}
|
2020-02-23 23:55:13 +01:00
|
|
|
${TL_JNI_OBJECT_SOURCE}
|
2018-12-31 20:04:05 +01:00
|
|
|
td/tl/TlObject.h
|
2020-02-24 01:27:06 +01:00
|
|
|
)
|
|
|
|
|
2024-05-18 20:16:51 +02:00
|
|
|
set_source_files_properties(${TL_MTPROTO_AUTO_SOURCE} PROPERTIES GENERATED TRUE)
|
|
|
|
|
2020-02-24 01:27:06 +01:00
|
|
|
set_source_files_properties(${TL_TD_AUTO_SOURCE} PROPERTIES GENERATED TRUE)
|
2018-12-31 20:04:05 +01:00
|
|
|
|
2020-02-23 23:55:13 +01:00
|
|
|
set_source_files_properties(${TL_TD_JSON_AUTO_SOURCE} PROPERTIES GENERATED TRUE)
|
2020-02-24 01:27:06 +01:00
|
|
|
set(TL_TD_JSON_SOURCE
|
2020-02-23 23:55:13 +01:00
|
|
|
${TL_TD_JSON_AUTO_SOURCE}
|
2018-12-31 20:04:05 +01:00
|
|
|
td/tl/tl_json.h
|
|
|
|
)
|
|
|
|
|
2020-02-23 23:55:13 +01:00
|
|
|
set_source_files_properties(${TL_C_AUTO_SOURCE} PROPERTIES GENERATED TRUE)
|
2018-12-31 20:04:05 +01:00
|
|
|
set(TL_C_SCHEME_SOURCE
|
2020-02-23 23:55:13 +01:00
|
|
|
${TL_C_AUTO_SOURCE}
|
2018-12-31 20:04:05 +01:00
|
|
|
)
|
|
|
|
|
2020-02-23 23:55:13 +01:00
|
|
|
set_source_files_properties(${TL_DOTNET_AUTO_SOURCE} PROPERTIES GENERATED TRUE)
|
2018-02-27 23:03:38 +01:00
|
|
|
set(TL_DOTNET_SCHEME_SOURCE
|
2020-02-23 23:55:13 +01:00
|
|
|
${TL_DOTNET_AUTO_SOURCE}
|
2018-02-28 00:09:23 +01:00
|
|
|
td/tl/tl_dotnet_object.h
|
2018-02-26 19:08:47 +01:00
|
|
|
)
|
|
|
|
|
2018-12-31 20:04:05 +01:00
|
|
|
set(TDLIB_SOURCE
|
2018-02-12 10:28:14 +01:00
|
|
|
td/mtproto/AuthData.cpp
|
2021-09-16 18:09:39 +02:00
|
|
|
td/mtproto/ConnectionManager.cpp
|
2019-01-31 12:26:06 +01:00
|
|
|
td/mtproto/DhHandshake.cpp
|
2018-12-31 20:04:05 +01:00
|
|
|
td/mtproto/Handshake.cpp
|
|
|
|
td/mtproto/HandshakeActor.cpp
|
|
|
|
td/mtproto/HttpTransport.cpp
|
|
|
|
td/mtproto/IStreamTransport.cpp
|
2019-07-26 23:39:39 +02:00
|
|
|
td/mtproto/KDF.cpp
|
2019-05-06 18:59:49 +02:00
|
|
|
td/mtproto/Ping.cpp
|
|
|
|
td/mtproto/PingConnection.cpp
|
2019-07-09 04:01:12 +02:00
|
|
|
td/mtproto/ProxySecret.cpp
|
2018-12-31 20:04:05 +01:00
|
|
|
td/mtproto/RawConnection.cpp
|
2020-05-17 16:07:16 +02:00
|
|
|
td/mtproto/RSA.cpp
|
2018-12-31 20:04:05 +01:00
|
|
|
td/mtproto/SessionConnection.cpp
|
|
|
|
td/mtproto/TcpTransport.cpp
|
2019-06-26 16:13:07 +02:00
|
|
|
td/mtproto/TlsInit.cpp
|
2019-06-26 15:51:48 +02:00
|
|
|
td/mtproto/TlsReaderByteFlow.cpp
|
2018-12-31 20:04:05 +01:00
|
|
|
td/mtproto/Transport.cpp
|
|
|
|
td/mtproto/utils.cpp
|
|
|
|
|
2023-09-08 15:19:30 +02:00
|
|
|
td/telegram/AccountManager.cpp
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/AnimationsManager.cpp
|
2022-05-24 13:56:02 +02:00
|
|
|
td/telegram/Application.cpp
|
2022-03-25 12:17:09 +01:00
|
|
|
td/telegram/AttachMenuManager.cpp
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/AudiosManager.cpp
|
|
|
|
td/telegram/AuthManager.cpp
|
2019-05-14 01:03:05 +02:00
|
|
|
td/telegram/AutoDownloadSettings.cpp
|
2023-02-03 08:41:31 +01:00
|
|
|
td/telegram/AutosaveManager.cpp
|
2023-04-10 15:32:59 +02:00
|
|
|
td/telegram/BackgroundInfo.cpp
|
2019-05-07 04:51:56 +02:00
|
|
|
td/telegram/BackgroundManager.cpp
|
2019-05-09 21:27:36 +02:00
|
|
|
td/telegram/BackgroundType.cpp
|
2024-03-20 21:13:00 +01:00
|
|
|
td/telegram/Birthdate.cpp
|
2023-10-19 15:25:51 +02:00
|
|
|
td/telegram/BoostManager.cpp
|
2021-06-21 01:08:11 +02:00
|
|
|
td/telegram/BotCommand.cpp
|
2021-06-19 03:00:23 +02:00
|
|
|
td/telegram/BotCommandScope.cpp
|
2023-04-16 22:12:28 +02:00
|
|
|
td/telegram/BotInfoManager.cpp
|
2022-04-06 19:24:54 +02:00
|
|
|
td/telegram/BotMenuButton.cpp
|
2024-02-26 18:27:17 +01:00
|
|
|
td/telegram/BusinessAwayMessage.cpp
|
2024-02-26 18:15:16 +01:00
|
|
|
td/telegram/BusinessAwayMessageSchedule.cpp
|
2024-04-08 01:37:52 +02:00
|
|
|
td/telegram/BusinessBotManageBar.cpp
|
2024-04-10 17:19:39 +02:00
|
|
|
td/telegram/BusinessChatLink.cpp
|
2024-03-04 14:06:36 +01:00
|
|
|
td/telegram/BusinessConnectedBot.cpp
|
2024-03-07 13:44:15 +01:00
|
|
|
td/telegram/BusinessConnectionManager.cpp
|
2024-02-26 17:09:58 +01:00
|
|
|
td/telegram/BusinessGreetingMessage.cpp
|
2024-02-26 21:09:52 +01:00
|
|
|
td/telegram/BusinessInfo.cpp
|
2024-03-18 21:46:08 +01:00
|
|
|
td/telegram/BusinessIntro.cpp
|
2024-03-04 14:39:30 +01:00
|
|
|
td/telegram/BusinessManager.cpp
|
2024-02-26 14:35:20 +01:00
|
|
|
td/telegram/BusinessRecipients.cpp
|
2024-02-20 13:22:02 +01:00
|
|
|
td/telegram/BusinessWorkHours.cpp
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/CallActor.cpp
|
2023-12-29 12:09:50 +01:00
|
|
|
td/telegram/CallbackQueriesManager.cpp
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/CallDiscardReason.cpp
|
|
|
|
td/telegram/CallManager.cpp
|
2022-03-19 19:53:33 +01:00
|
|
|
td/telegram/ChannelParticipantFilter.cpp
|
2024-03-13 12:06:14 +01:00
|
|
|
td/telegram/ChannelRecommendationManager.cpp
|
2024-04-02 12:06:22 +02:00
|
|
|
td/telegram/ChatManager.cpp
|
2022-08-30 10:45:27 +02:00
|
|
|
td/telegram/ChatReactions.cpp
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/ClientActor.cpp
|
2024-01-04 17:20:14 +01:00
|
|
|
td/telegram/CommonDialogManager.cpp
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/ConfigManager.cpp
|
2021-09-16 17:23:10 +02:00
|
|
|
td/telegram/ConnectionState.cpp
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/Contact.cpp
|
2020-08-23 23:43:31 +02:00
|
|
|
td/telegram/CountryInfoManager.cpp
|
2018-03-16 10:31:23 +01:00
|
|
|
td/telegram/DelayDispatcher.cpp
|
2020-01-27 01:09:05 +01:00
|
|
|
td/telegram/Dependencies.cpp
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/DeviceTokenManager.cpp
|
|
|
|
td/telegram/DhCache.cpp
|
2020-10-01 18:28:10 +02:00
|
|
|
td/telegram/DialogAction.cpp
|
2021-11-22 22:24:18 +01:00
|
|
|
td/telegram/DialogActionBar.cpp
|
2024-01-06 20:56:28 +01:00
|
|
|
td/telegram/DialogActionManager.cpp
|
2019-11-11 17:14:32 +01:00
|
|
|
td/telegram/DialogAdministrator.cpp
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/DialogDb.cpp
|
2021-11-09 14:54:49 +01:00
|
|
|
td/telegram/DialogEventLog.cpp
|
2020-06-02 12:58:53 +02:00
|
|
|
td/telegram/DialogFilter.cpp
|
2023-03-24 15:06:09 +01:00
|
|
|
td/telegram/DialogFilterInviteLink.cpp
|
2023-03-27 10:27:17 +02:00
|
|
|
td/telegram/DialogFilterManager.cpp
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/DialogId.cpp
|
2021-01-13 14:28:24 +01:00
|
|
|
td/telegram/DialogInviteLink.cpp
|
2024-01-08 10:43:31 +01:00
|
|
|
td/telegram/DialogInviteLinkManager.cpp
|
2019-10-13 01:21:37 +02:00
|
|
|
td/telegram/DialogLocation.cpp
|
2024-01-02 14:22:25 +01:00
|
|
|
td/telegram/DialogManager.cpp
|
2022-10-25 00:22:04 +02:00
|
|
|
td/telegram/DialogNotificationSettings.cpp
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/DialogParticipant.cpp
|
2022-03-19 19:37:46 +01:00
|
|
|
td/telegram/DialogParticipantFilter.cpp
|
2024-01-08 13:42:21 +01:00
|
|
|
td/telegram/DialogParticipantManager.cpp
|
2020-04-28 15:25:56 +02:00
|
|
|
td/telegram/DialogSource.cpp
|
2022-06-02 16:52:12 +02:00
|
|
|
td/telegram/Dimensions.cpp
|
2019-04-09 17:38:57 +02:00
|
|
|
td/telegram/Document.cpp
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/DocumentsManager.cpp
|
2022-02-23 19:34:09 +01:00
|
|
|
td/telegram/DownloadManager.cpp
|
2022-03-02 12:25:52 +01:00
|
|
|
td/telegram/DownloadManagerCallback.cpp
|
2018-09-29 01:45:43 +02:00
|
|
|
td/telegram/DraftMessage.cpp
|
2022-09-06 22:29:57 +02:00
|
|
|
td/telegram/EmailVerification.cpp
|
2023-01-24 16:11:02 +01:00
|
|
|
td/telegram/EmojiGroup.cpp
|
2023-01-24 19:38:53 +01:00
|
|
|
td/telegram/EmojiGroupType.cpp
|
2022-08-30 16:23:46 +02:00
|
|
|
td/telegram/EmojiStatus.cpp
|
2018-12-05 10:32:31 +01:00
|
|
|
td/telegram/FileReferenceManager.cpp
|
2018-11-11 12:38:04 +01:00
|
|
|
td/telegram/files/FileBitmask.cpp
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/files/FileDb.cpp
|
|
|
|
td/telegram/files/FileDownloader.cpp
|
2018-12-27 19:38:43 +01:00
|
|
|
td/telegram/files/FileEncryptionKey.cpp
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/files/FileFromBytes.cpp
|
|
|
|
td/telegram/files/FileGcParameters.cpp
|
|
|
|
td/telegram/files/FileGcWorker.cpp
|
|
|
|
td/telegram/files/FileGenerateManager.cpp
|
|
|
|
td/telegram/files/FileHashUploader.cpp
|
|
|
|
td/telegram/files/FileLoader.cpp
|
|
|
|
td/telegram/files/FileLoaderUtils.cpp
|
|
|
|
td/telegram/files/FileLoadManager.cpp
|
|
|
|
td/telegram/files/FileManager.cpp
|
|
|
|
td/telegram/files/FileStats.cpp
|
|
|
|
td/telegram/files/FileStatsWorker.cpp
|
2020-06-22 01:20:48 +02:00
|
|
|
td/telegram/files/FileType.cpp
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/files/FileUploader.cpp
|
|
|
|
td/telegram/files/PartsManager.cpp
|
|
|
|
td/telegram/files/ResourceManager.cpp
|
2022-10-24 20:10:12 +02:00
|
|
|
td/telegram/ForumTopic.cpp
|
2022-10-18 20:44:52 +02:00
|
|
|
td/telegram/ForumTopicEditedData.cpp
|
2022-10-18 14:04:52 +02:00
|
|
|
td/telegram/ForumTopicIcon.cpp
|
2022-10-17 19:07:06 +02:00
|
|
|
td/telegram/ForumTopicInfo.cpp
|
2022-10-25 14:03:35 +02:00
|
|
|
td/telegram/ForumTopicManager.cpp
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/Game.cpp
|
2021-09-07 09:02:44 +02:00
|
|
|
td/telegram/GameManager.cpp
|
2023-10-12 16:05:03 +02:00
|
|
|
td/telegram/GiveawayParameters.cpp
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/Global.cpp
|
2023-07-14 13:54:35 +02:00
|
|
|
td/telegram/GlobalPrivacySettings.cpp
|
2020-11-24 16:22:00 +01:00
|
|
|
td/telegram/GroupCallManager.cpp
|
2020-12-08 15:29:25 +01:00
|
|
|
td/telegram/GroupCallParticipant.cpp
|
2021-03-15 16:32:28 +01:00
|
|
|
td/telegram/GroupCallParticipantOrder.cpp
|
2021-01-12 15:05:25 +01:00
|
|
|
td/telegram/GroupCallVideoPayload.cpp
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/HashtagHints.cpp
|
|
|
|
td/telegram/InlineQueriesManager.cpp
|
2024-04-11 00:07:03 +02:00
|
|
|
td/telegram/InputBusinessChatLink.cpp
|
2020-05-12 14:52:10 +02:00
|
|
|
td/telegram/InputDialogId.cpp
|
2020-11-24 08:44:06 +01:00
|
|
|
td/telegram/InputGroupCallId.cpp
|
2022-09-22 18:08:06 +02:00
|
|
|
td/telegram/InputInvoice.cpp
|
2018-09-28 22:57:34 +02:00
|
|
|
td/telegram/InputMessageText.cpp
|
2018-12-10 02:01:02 +01:00
|
|
|
td/telegram/JsonValue.cpp
|
2018-07-03 19:28:00 +02:00
|
|
|
td/telegram/LanguagePackManager.cpp
|
2021-05-25 01:24:30 +02:00
|
|
|
td/telegram/LinkManager.cpp
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/Location.cpp
|
2020-09-21 14:21:41 +02:00
|
|
|
td/telegram/logevent/LogEventHelper.cpp
|
2018-10-24 17:42:40 +02:00
|
|
|
td/telegram/Logging.cpp
|
2023-08-01 14:17:50 +02:00
|
|
|
td/telegram/MediaArea.cpp
|
2023-08-01 13:20:42 +02:00
|
|
|
td/telegram/MediaAreaCoordinates.cpp
|
2018-09-28 22:57:34 +02:00
|
|
|
td/telegram/MessageContent.cpp
|
2020-01-27 14:06:00 +01:00
|
|
|
td/telegram/MessageContentType.cpp
|
2022-11-10 17:46:17 +01:00
|
|
|
td/telegram/MessageDb.cpp
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/MessageEntity.cpp
|
2022-09-22 00:46:12 +02:00
|
|
|
td/telegram/MessageExtendedMedia.cpp
|
2024-01-11 16:20:53 +01:00
|
|
|
td/telegram/MessageForwardInfo.cpp
|
2019-11-26 17:18:57 +01:00
|
|
|
td/telegram/MessageId.cpp
|
2024-01-06 20:06:52 +01:00
|
|
|
td/telegram/MessageImportManager.cpp
|
2023-06-08 16:27:24 +02:00
|
|
|
td/telegram/MessageInputReplyTo.cpp
|
2023-10-09 17:48:01 +02:00
|
|
|
td/telegram/MessageOrigin.cpp
|
2024-04-25 14:52:19 +02:00
|
|
|
td/telegram/MessageQuote.cpp
|
2022-01-20 20:54:34 +01:00
|
|
|
td/telegram/MessageReaction.cpp
|
2022-11-02 04:28:35 +01:00
|
|
|
td/telegram/MessageReplyHeader.cpp
|
2020-09-07 13:07:40 +02:00
|
|
|
td/telegram/MessageReplyInfo.cpp
|
2020-08-22 09:27:13 +02:00
|
|
|
td/telegram/MessageSearchFilter.cpp
|
2024-01-30 13:07:21 +01:00
|
|
|
td/telegram/MessageSelfDestructType.cpp
|
2021-11-14 23:18:47 +01:00
|
|
|
td/telegram/MessageSender.cpp
|
2022-12-07 17:38:42 +01:00
|
|
|
td/telegram/MessagesInfo.cpp
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/MessagesManager.cpp
|
2023-02-07 19:08:54 +01:00
|
|
|
td/telegram/MessageSource.cpp
|
2022-11-10 17:46:17 +01:00
|
|
|
td/telegram/MessageThreadDb.cpp
|
2021-12-21 12:06:15 +01:00
|
|
|
td/telegram/MessageTtl.cpp
|
2023-02-23 13:15:10 +01:00
|
|
|
td/telegram/MessageViewer.cpp
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/misc.cpp
|
2024-04-09 15:03:58 +02:00
|
|
|
td/telegram/MissingInvitee.cpp
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/net/AuthDataShared.cpp
|
|
|
|
td/telegram/net/ConnectionCreator.cpp
|
|
|
|
td/telegram/net/DcAuthManager.cpp
|
|
|
|
td/telegram/net/DcOptionsSet.cpp
|
|
|
|
td/telegram/net/MtprotoHeader.cpp
|
|
|
|
td/telegram/net/NetActor.cpp
|
|
|
|
td/telegram/net/NetQuery.cpp
|
|
|
|
td/telegram/net/NetQueryCreator.cpp
|
|
|
|
td/telegram/net/NetQueryDelayer.cpp
|
|
|
|
td/telegram/net/NetQueryDispatcher.cpp
|
2020-07-30 16:28:56 +02:00
|
|
|
td/telegram/net/NetQueryStats.cpp
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/net/NetStatsManager.cpp
|
2019-07-20 15:13:36 +02:00
|
|
|
td/telegram/net/Proxy.cpp
|
2024-01-22 00:15:26 +01:00
|
|
|
td/telegram/net/PublicRsaKeySharedCdn.cpp
|
|
|
|
td/telegram/net/PublicRsaKeySharedMain.cpp
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/net/PublicRsaKeyWatchdog.cpp
|
|
|
|
td/telegram/net/Session.cpp
|
|
|
|
td/telegram/net/SessionMultiProxy.cpp
|
2023-12-29 12:09:50 +01:00
|
|
|
td/telegram/net/SessionProxy.cpp
|
2021-06-28 20:03:17 +02:00
|
|
|
td/telegram/NewPasswordState.cpp
|
2023-08-21 17:52:56 +02:00
|
|
|
td/telegram/NotificationGroupInfo.cpp
|
2023-08-25 00:06:59 +02:00
|
|
|
td/telegram/NotificationGroupType.cpp
|
2018-11-09 15:14:02 +01:00
|
|
|
td/telegram/NotificationManager.cpp
|
2022-04-04 23:40:22 +02:00
|
|
|
td/telegram/NotificationSettingsManager.cpp
|
2023-12-29 12:09:50 +01:00
|
|
|
td/telegram/NotificationSettingsScope.cpp
|
2022-04-11 19:01:44 +02:00
|
|
|
td/telegram/NotificationSound.cpp
|
2018-11-09 23:56:00 +01:00
|
|
|
td/telegram/NotificationType.cpp
|
2021-12-15 23:09:59 +01:00
|
|
|
td/telegram/OptionManager.cpp
|
2023-05-02 16:38:55 +02:00
|
|
|
td/telegram/OrderedMessage.cpp
|
2022-09-22 18:28:39 +02:00
|
|
|
td/telegram/OrderInfo.cpp
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/PasswordManager.cpp
|
2023-12-29 12:09:50 +01:00
|
|
|
td/telegram/Payments.cpp
|
2023-12-18 13:51:11 +01:00
|
|
|
td/telegram/PeerColor.cpp
|
2024-03-10 23:08:29 +01:00
|
|
|
td/telegram/PeopleNearbyManager.cpp
|
2019-02-16 17:01:47 +01:00
|
|
|
td/telegram/PhoneNumberManager.cpp
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/Photo.cpp
|
2022-04-10 00:15:49 +02:00
|
|
|
td/telegram/PhotoSize.cpp
|
2019-06-19 02:18:44 +02:00
|
|
|
td/telegram/PhotoSizeSource.cpp
|
2019-02-19 14:45:32 +01:00
|
|
|
td/telegram/PollManager.cpp
|
2022-05-24 00:21:03 +02:00
|
|
|
td/telegram/Premium.cpp
|
2022-07-01 14:57:38 +02:00
|
|
|
td/telegram/PremiumGiftOption.cpp
|
2023-12-18 13:51:11 +01:00
|
|
|
td/telegram/PrivacyManager.cpp
|
2019-02-25 04:08:18 +01:00
|
|
|
td/telegram/QueryCombiner.cpp
|
2023-01-13 11:09:38 +01:00
|
|
|
td/telegram/QueryMerger.cpp
|
2024-02-21 18:43:55 +01:00
|
|
|
td/telegram/QuickReplyManager.cpp
|
2024-01-18 18:53:43 +01:00
|
|
|
td/telegram/ReactionListType.cpp
|
2023-08-09 11:59:48 +02:00
|
|
|
td/telegram/ReactionManager.cpp
|
2024-04-24 15:30:07 +02:00
|
|
|
td/telegram/ReactionNotificationSettings.cpp
|
|
|
|
td/telegram/ReactionNotificationsFrom.cpp
|
2023-08-04 17:39:07 +02:00
|
|
|
td/telegram/ReactionType.cpp
|
2021-09-13 19:34:57 +02:00
|
|
|
td/telegram/RecentDialogList.cpp
|
2023-10-24 11:04:45 +02:00
|
|
|
td/telegram/RepliedMessageInfo.cpp
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/ReplyMarkup.cpp
|
2021-02-20 01:55:09 +01:00
|
|
|
td/telegram/ReportReason.cpp
|
2023-01-11 14:54:46 +01:00
|
|
|
td/telegram/RequestedDialogType.cpp
|
2019-11-23 23:37:46 +01:00
|
|
|
td/telegram/RestrictionReason.cpp
|
2024-02-04 10:41:53 +01:00
|
|
|
td/telegram/SavedMessagesManager.cpp
|
2024-01-13 10:06:31 +01:00
|
|
|
td/telegram/SavedMessagesTopicId.cpp
|
2022-10-25 00:22:04 +02:00
|
|
|
td/telegram/ScopeNotificationSettings.cpp
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/SecretChatActor.cpp
|
|
|
|
td/telegram/SecretChatDb.cpp
|
|
|
|
td/telegram/SecretChatsManager.cpp
|
2022-05-11 00:53:18 +02:00
|
|
|
td/telegram/SecretInputMedia.cpp
|
2018-04-05 13:18:47 +02:00
|
|
|
td/telegram/SecureManager.cpp
|
2018-03-26 16:07:04 +02:00
|
|
|
td/telegram/SecureStorage.cpp
|
2018-03-27 15:11:15 +02:00
|
|
|
td/telegram/SecureValue.cpp
|
2019-02-16 16:49:39 +01:00
|
|
|
td/telegram/SendCodeHelper.cpp
|
2022-09-06 13:46:11 +02:00
|
|
|
td/telegram/SentEmailCode.cpp
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/SequenceDispatcher.cpp
|
2024-03-21 19:53:39 +01:00
|
|
|
td/telegram/SharedDialog.cpp
|
2020-04-19 15:30:04 +02:00
|
|
|
td/telegram/SpecialStickerSetType.cpp
|
2021-09-07 14:49:34 +02:00
|
|
|
td/telegram/SponsoredMessageManager.cpp
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/StateManager.cpp
|
2023-09-19 20:24:19 +02:00
|
|
|
td/telegram/StatisticsManager.cpp
|
2022-01-18 17:20:43 +01:00
|
|
|
td/telegram/StickerFormat.cpp
|
2023-10-19 14:12:26 +02:00
|
|
|
td/telegram/StickerListType.cpp
|
2023-02-09 18:15:21 +01:00
|
|
|
td/telegram/StickerMaskPosition.cpp
|
2023-01-20 23:51:38 +01:00
|
|
|
td/telegram/StickerPhotoSize.cpp
|
2023-02-21 10:23:39 +01:00
|
|
|
td/telegram/StickerSetId.cpp
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/StickersManager.cpp
|
2022-07-14 14:02:55 +02:00
|
|
|
td/telegram/StickerType.cpp
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/StorageManager.cpp
|
2023-05-18 16:20:22 +02:00
|
|
|
td/telegram/StoryContent.cpp
|
|
|
|
td/telegram/StoryContentType.cpp
|
2023-07-10 12:18:32 +02:00
|
|
|
td/telegram/StoryDb.cpp
|
2023-11-29 17:22:54 +01:00
|
|
|
td/telegram/StoryForwardInfo.cpp
|
2023-05-18 17:41:07 +02:00
|
|
|
td/telegram/StoryInteractionInfo.cpp
|
2023-05-01 21:19:16 +02:00
|
|
|
td/telegram/StoryManager.cpp
|
2023-08-03 23:14:34 +02:00
|
|
|
td/telegram/StoryStealthMode.cpp
|
2023-08-07 15:03:10 +02:00
|
|
|
td/telegram/StoryViewer.cpp
|
2020-07-11 22:50:21 +02:00
|
|
|
td/telegram/SuggestedAction.cpp
|
2022-08-15 13:32:35 +02:00
|
|
|
td/telegram/Support.cpp
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/Td.cpp
|
|
|
|
td/telegram/TdDb.cpp
|
2018-06-07 20:42:17 +02:00
|
|
|
td/telegram/TermsOfService.cpp
|
2021-08-27 14:51:50 +02:00
|
|
|
td/telegram/ThemeManager.cpp
|
2024-02-19 12:34:28 +01:00
|
|
|
td/telegram/TimeZoneManager.cpp
|
2021-09-25 20:27:32 +02:00
|
|
|
td/telegram/TopDialogCategory.cpp
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/TopDialogManager.cpp
|
2022-10-19 19:43:30 +02:00
|
|
|
td/telegram/TranscriptionInfo.cpp
|
2023-11-21 13:14:26 +01:00
|
|
|
td/telegram/TranscriptionManager.cpp
|
2023-01-18 12:47:31 +01:00
|
|
|
td/telegram/TranslationManager.cpp
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/UpdatesManager.cpp
|
2024-04-01 14:05:02 +02:00
|
|
|
td/telegram/UserManager.cpp
|
2022-10-12 20:04:18 +02:00
|
|
|
td/telegram/Usernames.cpp
|
2023-05-08 13:41:08 +02:00
|
|
|
td/telegram/UserPrivacySetting.cpp
|
2023-05-08 12:50:51 +02:00
|
|
|
td/telegram/UserPrivacySettingRule.cpp
|
2019-10-13 01:39:44 +02:00
|
|
|
td/telegram/Venue.cpp
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/VideoNotesManager.cpp
|
|
|
|
td/telegram/VideosManager.cpp
|
|
|
|
td/telegram/VoiceNotesManager.cpp
|
2023-02-21 20:35:20 +01:00
|
|
|
td/telegram/WebApp.cpp
|
2019-04-27 02:57:59 +02:00
|
|
|
td/telegram/WebPageBlock.cpp
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/WebPagesManager.cpp
|
|
|
|
|
|
|
|
td/mtproto/AuthData.h
|
|
|
|
td/mtproto/AuthKey.h
|
2021-09-16 18:09:39 +02:00
|
|
|
td/mtproto/ConnectionManager.h
|
2018-12-31 20:04:05 +01:00
|
|
|
td/mtproto/CryptoStorer.h
|
2021-07-16 17:58:11 +02:00
|
|
|
td/mtproto/DhCallback.h
|
2019-01-31 12:26:06 +01:00
|
|
|
td/mtproto/DhHandshake.h
|
2018-12-31 20:04:05 +01:00
|
|
|
td/mtproto/Handshake.h
|
|
|
|
td/mtproto/HandshakeActor.h
|
|
|
|
td/mtproto/HandshakeConnection.h
|
|
|
|
td/mtproto/HttpTransport.h
|
|
|
|
td/mtproto/IStreamTransport.h
|
2019-07-26 23:39:39 +02:00
|
|
|
td/mtproto/KDF.h
|
2023-09-21 16:52:33 +02:00
|
|
|
td/mtproto/MessageId.h
|
2021-06-02 15:22:30 +02:00
|
|
|
td/mtproto/MtprotoQuery.h
|
2018-12-31 20:04:05 +01:00
|
|
|
td/mtproto/NoCryptoStorer.h
|
2019-01-31 03:23:40 +01:00
|
|
|
td/mtproto/PacketInfo.h
|
2018-12-31 20:04:05 +01:00
|
|
|
td/mtproto/PacketStorer.h
|
2019-05-06 18:59:49 +02:00
|
|
|
td/mtproto/Ping.h
|
2018-12-31 20:04:05 +01:00
|
|
|
td/mtproto/PingConnection.h
|
2019-07-09 04:01:12 +02:00
|
|
|
td/mtproto/ProxySecret.h
|
2018-12-31 20:04:05 +01:00
|
|
|
td/mtproto/RawConnection.h
|
2020-05-17 16:07:16 +02:00
|
|
|
td/mtproto/RSA.h
|
2018-12-31 20:04:05 +01:00
|
|
|
td/mtproto/SessionConnection.h
|
|
|
|
td/mtproto/TcpTransport.h
|
2019-06-26 16:13:07 +02:00
|
|
|
td/mtproto/TlsInit.h
|
2019-06-26 15:51:48 +02:00
|
|
|
td/mtproto/TlsReaderByteFlow.h
|
2018-12-31 20:04:05 +01:00
|
|
|
td/mtproto/Transport.h
|
2019-01-31 03:13:59 +01:00
|
|
|
td/mtproto/TransportType.h
|
2018-12-31 20:04:05 +01:00
|
|
|
td/mtproto/utils.h
|
|
|
|
|
2023-10-17 12:52:04 +02:00
|
|
|
td/telegram/AccentColorId.h
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/AccessRights.h
|
2023-09-08 15:19:30 +02:00
|
|
|
td/telegram/AccountManager.h
|
2021-11-11 19:13:03 +01:00
|
|
|
td/telegram/AffectedHistory.h
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/AnimationsManager.h
|
2022-05-24 13:56:02 +02:00
|
|
|
td/telegram/Application.h
|
2022-03-25 12:17:09 +01:00
|
|
|
td/telegram/AttachMenuManager.h
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/AudiosManager.h
|
|
|
|
td/telegram/AuthManager.h
|
2019-05-14 01:03:05 +02:00
|
|
|
td/telegram/AutoDownloadSettings.h
|
2023-02-03 08:41:31 +01:00
|
|
|
td/telegram/AutosaveManager.h
|
2019-05-07 04:51:56 +02:00
|
|
|
td/telegram/BackgroundId.h
|
2023-04-10 15:32:59 +02:00
|
|
|
td/telegram/BackgroundInfo.h
|
2019-05-07 04:51:56 +02:00
|
|
|
td/telegram/BackgroundManager.h
|
2019-05-09 21:27:36 +02:00
|
|
|
td/telegram/BackgroundType.h
|
2024-03-20 21:13:00 +01:00
|
|
|
td/telegram/Birthdate.h
|
2023-07-28 16:33:47 +02:00
|
|
|
td/telegram/BlockListId.h
|
2023-10-19 15:25:51 +02:00
|
|
|
td/telegram/BoostManager.h
|
2021-06-21 01:08:11 +02:00
|
|
|
td/telegram/BotCommand.h
|
2021-06-19 03:00:23 +02:00
|
|
|
td/telegram/BotCommandScope.h
|
2023-04-16 22:12:28 +02:00
|
|
|
td/telegram/BotInfoManager.h
|
|
|
|
td/telegram/BotMenuButton.h
|
2024-02-26 18:27:17 +01:00
|
|
|
td/telegram/BusinessAwayMessage.h
|
2024-02-26 18:15:16 +01:00
|
|
|
td/telegram/BusinessAwayMessageSchedule.h
|
2024-04-08 01:37:52 +02:00
|
|
|
td/telegram/BusinessBotManageBar.h
|
2024-04-10 17:19:39 +02:00
|
|
|
td/telegram/BusinessChatLink.h
|
2024-03-04 14:06:36 +01:00
|
|
|
td/telegram/BusinessConnectedBot.h
|
2024-03-07 18:18:04 +01:00
|
|
|
td/telegram/BusinessConnectionId.h
|
2024-03-07 13:44:15 +01:00
|
|
|
td/telegram/BusinessConnectionManager.h
|
2024-02-26 17:09:58 +01:00
|
|
|
td/telegram/BusinessGreetingMessage.h
|
2024-02-26 21:09:52 +01:00
|
|
|
td/telegram/BusinessInfo.h
|
2024-03-18 21:46:08 +01:00
|
|
|
td/telegram/BusinessIntro.h
|
2024-03-04 14:39:30 +01:00
|
|
|
td/telegram/BusinessManager.h
|
2024-02-26 14:35:20 +01:00
|
|
|
td/telegram/BusinessRecipients.h
|
2024-02-20 13:22:02 +01:00
|
|
|
td/telegram/BusinessWorkHours.h
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/CallActor.h
|
|
|
|
td/telegram/CallDiscardReason.h
|
|
|
|
td/telegram/CallId.h
|
|
|
|
td/telegram/CallManager.h
|
|
|
|
td/telegram/CallbackQueriesManager.h
|
2022-02-05 21:28:43 +01:00
|
|
|
td/telegram/ChainId.h
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/ChannelId.h
|
2022-03-19 19:53:33 +01:00
|
|
|
td/telegram/ChannelParticipantFilter.h
|
2024-03-13 12:06:14 +01:00
|
|
|
td/telegram/ChannelRecommendationManager.h
|
2022-04-04 14:35:09 +02:00
|
|
|
td/telegram/ChannelType.h
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/ChatId.h
|
2024-04-02 12:06:22 +02:00
|
|
|
td/telegram/ChatManager.h
|
2022-08-30 10:45:27 +02:00
|
|
|
td/telegram/ChatReactions.h
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/ClientActor.h
|
2024-01-04 17:20:14 +01:00
|
|
|
td/telegram/CommonDialogManager.h
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/ConfigManager.h
|
2021-09-16 17:23:10 +02:00
|
|
|
td/telegram/ConnectionState.h
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/Contact.h
|
2020-08-23 23:43:31 +02:00
|
|
|
td/telegram/CountryInfoManager.h
|
2022-10-03 00:26:32 +02:00
|
|
|
td/telegram/CustomEmojiId.h
|
2018-03-16 10:31:23 +01:00
|
|
|
td/telegram/DelayDispatcher.h
|
2018-09-28 03:21:20 +02:00
|
|
|
td/telegram/Dependencies.h
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/DeviceTokenManager.h
|
|
|
|
td/telegram/DhCache.h
|
|
|
|
td/telegram/DhConfig.h
|
2020-10-01 18:28:10 +02:00
|
|
|
td/telegram/DialogAction.h
|
2021-11-22 22:24:18 +01:00
|
|
|
td/telegram/DialogActionBar.h
|
2024-01-06 20:56:28 +01:00
|
|
|
td/telegram/DialogActionManager.h
|
2019-11-11 17:14:32 +01:00
|
|
|
td/telegram/DialogAdministrator.h
|
2023-09-15 18:07:18 +02:00
|
|
|
td/telegram/DialogBoostLinkInfo.h
|
2018-09-29 02:39:27 +02:00
|
|
|
td/telegram/DialogDate.h
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/DialogDb.h
|
2021-11-09 14:54:49 +01:00
|
|
|
td/telegram/DialogEventLog.h
|
2020-06-02 12:58:53 +02:00
|
|
|
td/telegram/DialogFilter.h
|
2023-03-27 17:34:25 +02:00
|
|
|
td/telegram/DialogFilterDialogInfo.h
|
2020-05-12 02:14:20 +02:00
|
|
|
td/telegram/DialogFilterId.h
|
2023-03-24 15:06:09 +01:00
|
|
|
td/telegram/DialogFilterInviteLink.h
|
2023-03-27 10:27:17 +02:00
|
|
|
td/telegram/DialogFilterManager.h
|
2024-01-08 10:43:31 +01:00
|
|
|
td/telegram/DialogInviteLinkManager.h
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/DialogId.h
|
2021-01-13 14:28:24 +01:00
|
|
|
td/telegram/DialogInviteLink.h
|
2020-05-21 18:39:34 +02:00
|
|
|
td/telegram/DialogListId.h
|
2019-10-13 01:21:37 +02:00
|
|
|
td/telegram/DialogLocation.h
|
2024-01-02 14:22:25 +01:00
|
|
|
td/telegram/DialogManager.h
|
2022-10-25 00:22:04 +02:00
|
|
|
td/telegram/DialogNotificationSettings.h
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/DialogParticipant.h
|
2022-03-19 19:37:46 +01:00
|
|
|
td/telegram/DialogParticipantFilter.h
|
2024-01-08 13:42:21 +01:00
|
|
|
td/telegram/DialogParticipantManager.h
|
2020-04-28 15:25:56 +02:00
|
|
|
td/telegram/DialogSource.h
|
2022-06-02 16:52:12 +02:00
|
|
|
td/telegram/Dimensions.h
|
2019-04-09 17:38:57 +02:00
|
|
|
td/telegram/Document.h
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/DocumentsManager.h
|
2022-02-25 14:18:23 +01:00
|
|
|
td/telegram/DownloadManager.h
|
2022-03-02 12:03:41 +01:00
|
|
|
td/telegram/DownloadManagerCallback.h
|
2018-09-29 01:45:43 +02:00
|
|
|
td/telegram/DraftMessage.h
|
2022-09-06 22:29:57 +02:00
|
|
|
td/telegram/EmailVerification.h
|
2023-01-24 16:11:02 +01:00
|
|
|
td/telegram/EmojiGroup.h
|
2023-01-24 19:38:53 +01:00
|
|
|
td/telegram/EmojiGroupType.h
|
2022-08-30 15:02:25 +02:00
|
|
|
td/telegram/EmojiStatus.h
|
2021-08-01 05:17:51 +02:00
|
|
|
td/telegram/EncryptedFile.h
|
2018-12-05 10:32:31 +01:00
|
|
|
td/telegram/FileReferenceManager.h
|
2018-11-11 12:38:04 +01:00
|
|
|
td/telegram/files/FileBitmask.h
|
2019-01-19 22:26:23 +01:00
|
|
|
td/telegram/files/FileData.h
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/files/FileDb.h
|
2019-01-06 21:39:10 +01:00
|
|
|
td/telegram/files/FileDbId.h
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/files/FileDownloader.h
|
2018-12-27 19:06:21 +01:00
|
|
|
td/telegram/files/FileEncryptionKey.h
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/files/FileFromBytes.h
|
|
|
|
td/telegram/files/FileGcParameters.h
|
|
|
|
td/telegram/files/FileGcWorker.h
|
|
|
|
td/telegram/files/FileGenerateManager.h
|
|
|
|
td/telegram/files/FileHashUploader.h
|
|
|
|
td/telegram/files/FileId.h
|
|
|
|
td/telegram/files/FileLoaderActor.h
|
|
|
|
td/telegram/files/FileLoader.h
|
|
|
|
td/telegram/files/FileLoaderUtils.h
|
|
|
|
td/telegram/files/FileLoadManager.h
|
|
|
|
td/telegram/files/FileLocation.h
|
|
|
|
td/telegram/files/FileManager.h
|
2019-01-19 03:44:31 +01:00
|
|
|
td/telegram/files/FileSourceId.h
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/files/FileStats.h
|
|
|
|
td/telegram/files/FileStatsWorker.h
|
2019-01-30 22:37:38 +01:00
|
|
|
td/telegram/files/FileType.h
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/files/FileUploader.h
|
|
|
|
td/telegram/files/PartsManager.h
|
|
|
|
td/telegram/files/ResourceManager.h
|
|
|
|
td/telegram/files/ResourceState.h
|
2019-08-19 03:51:03 +02:00
|
|
|
td/telegram/FolderId.h
|
2022-10-24 20:10:12 +02:00
|
|
|
td/telegram/ForumTopic.h
|
2022-10-18 20:44:52 +02:00
|
|
|
td/telegram/ForumTopicEditedData.h
|
2022-10-18 14:04:52 +02:00
|
|
|
td/telegram/ForumTopicIcon.h
|
2022-10-17 19:07:06 +02:00
|
|
|
td/telegram/ForumTopicInfo.h
|
2022-10-25 14:03:35 +02:00
|
|
|
td/telegram/ForumTopicManager.h
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/Game.h
|
2021-09-07 09:02:44 +02:00
|
|
|
td/telegram/GameManager.h
|
2022-07-11 11:20:31 +02:00
|
|
|
td/telegram/GitCommitHash.h
|
2023-10-12 16:05:03 +02:00
|
|
|
td/telegram/GiveawayParameters.h
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/Global.h
|
2023-07-14 13:54:35 +02:00
|
|
|
td/telegram/GlobalPrivacySettings.h
|
2020-12-22 13:51:57 +01:00
|
|
|
td/telegram/GroupCallId.h
|
2020-11-24 16:22:00 +01:00
|
|
|
td/telegram/GroupCallManager.h
|
2020-12-08 15:29:25 +01:00
|
|
|
td/telegram/GroupCallParticipant.h
|
2021-03-15 16:32:28 +01:00
|
|
|
td/telegram/GroupCallParticipantOrder.h
|
2021-01-12 15:05:25 +01:00
|
|
|
td/telegram/GroupCallVideoPayload.h
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/HashtagHints.h
|
|
|
|
td/telegram/InlineQueriesManager.h
|
2024-04-11 00:07:03 +02:00
|
|
|
td/telegram/InputBusinessChatLink.h
|
2020-05-12 14:52:10 +02:00
|
|
|
td/telegram/InputDialogId.h
|
2020-11-24 08:44:06 +01:00
|
|
|
td/telegram/InputGroupCallId.h
|
2022-09-22 18:08:06 +02:00
|
|
|
td/telegram/InputInvoice.h
|
2018-09-28 22:57:34 +02:00
|
|
|
td/telegram/InputMessageText.h
|
2018-12-10 02:01:02 +01:00
|
|
|
td/telegram/JsonValue.h
|
2022-09-22 17:49:08 +02:00
|
|
|
td/telegram/LabeledPricePart.h
|
2018-07-03 19:28:00 +02:00
|
|
|
td/telegram/LanguagePackManager.h
|
2021-05-25 01:24:30 +02:00
|
|
|
td/telegram/LinkManager.h
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/Location.h
|
|
|
|
td/telegram/logevent/LogEvent.h
|
2018-04-28 22:22:28 +02:00
|
|
|
td/telegram/logevent/LogEventHelper.h
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/logevent/SecretChatEvent.h
|
2018-10-24 17:42:40 +02:00
|
|
|
td/telegram/Logging.h
|
2023-08-01 14:17:50 +02:00
|
|
|
td/telegram/MediaArea.h
|
2023-08-01 13:20:42 +02:00
|
|
|
td/telegram/MediaAreaCoordinates.h
|
2018-09-28 22:57:34 +02:00
|
|
|
td/telegram/MessageContent.h
|
2020-01-27 14:06:00 +01:00
|
|
|
td/telegram/MessageContentType.h
|
2020-08-09 13:18:08 +02:00
|
|
|
td/telegram/MessageCopyOptions.h
|
2022-11-10 17:46:17 +01:00
|
|
|
td/telegram/MessageDb.h
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/MessageEntity.h
|
2022-09-22 00:46:12 +02:00
|
|
|
td/telegram/MessageExtendedMedia.h
|
2024-01-11 16:20:53 +01:00
|
|
|
td/telegram/MessageForwardInfo.h
|
2023-09-21 18:11:17 +02:00
|
|
|
td/telegram/MessageFullId.h
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/MessageId.h
|
2024-01-06 20:06:52 +01:00
|
|
|
td/telegram/MessageImportManager.h
|
2023-06-08 16:27:24 +02:00
|
|
|
td/telegram/MessageInputReplyTo.h
|
2021-05-27 19:47:04 +02:00
|
|
|
td/telegram/MessageLinkInfo.h
|
2023-10-09 17:48:01 +02:00
|
|
|
td/telegram/MessageOrigin.h
|
2024-04-25 14:52:19 +02:00
|
|
|
td/telegram/MessageQuote.h
|
2022-01-20 20:54:34 +01:00
|
|
|
td/telegram/MessageReaction.h
|
2022-11-02 04:28:35 +01:00
|
|
|
td/telegram/MessageReplyHeader.h
|
2020-09-07 13:07:40 +02:00
|
|
|
td/telegram/MessageReplyInfo.h
|
2020-08-22 09:27:13 +02:00
|
|
|
td/telegram/MessageSearchFilter.h
|
2024-01-30 13:07:21 +01:00
|
|
|
td/telegram/MessageSelfDestructType.h
|
2021-11-14 23:18:47 +01:00
|
|
|
td/telegram/MessageSender.h
|
2022-12-07 17:28:27 +01:00
|
|
|
td/telegram/MessagesInfo.h
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/MessagesManager.h
|
2023-02-07 19:08:54 +01:00
|
|
|
td/telegram/MessageSource.h
|
2022-11-10 17:46:17 +01:00
|
|
|
td/telegram/MessageThreadDb.h
|
|
|
|
td/telegram/MessageThreadInfo.h
|
2021-12-21 12:06:15 +01:00
|
|
|
td/telegram/MessageTtl.h
|
2023-02-23 13:15:10 +01:00
|
|
|
td/telegram/MessageViewer.h
|
2021-12-22 14:09:34 +01:00
|
|
|
td/telegram/MinChannel.h
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/misc.h
|
2024-04-09 15:03:58 +02:00
|
|
|
td/telegram/MissingInvitee.h
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/net/AuthDataShared.h
|
2023-05-04 13:53:07 +02:00
|
|
|
td/telegram/net/AuthKeyState.h
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/net/ConnectionCreator.h
|
|
|
|
td/telegram/net/DcAuthManager.h
|
|
|
|
td/telegram/net/DcId.h
|
|
|
|
td/telegram/net/DcOptions.h
|
|
|
|
td/telegram/net/DcOptionsSet.h
|
|
|
|
td/telegram/net/MtprotoHeader.h
|
|
|
|
td/telegram/net/NetActor.h
|
|
|
|
td/telegram/net/NetQuery.h
|
|
|
|
td/telegram/net/NetQueryCounter.h
|
|
|
|
td/telegram/net/NetQueryCreator.h
|
|
|
|
td/telegram/net/NetQueryDelayer.h
|
|
|
|
td/telegram/net/NetQueryDispatcher.h
|
2020-07-30 16:28:56 +02:00
|
|
|
td/telegram/net/NetQueryStats.h
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/net/NetStatsManager.h
|
|
|
|
td/telegram/net/NetType.h
|
2019-07-09 04:13:10 +02:00
|
|
|
td/telegram/net/Proxy.h
|
2024-01-22 00:15:26 +01:00
|
|
|
td/telegram/net/PublicRsaKeySharedCdn.h
|
|
|
|
td/telegram/net/PublicRsaKeySharedMain.h
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/net/PublicRsaKeyWatchdog.h
|
|
|
|
td/telegram/net/Session.h
|
|
|
|
td/telegram/net/SessionProxy.h
|
|
|
|
td/telegram/net/SessionMultiProxy.h
|
|
|
|
td/telegram/net/TempAuthKeyWatchdog.h
|
2021-06-28 20:03:17 +02:00
|
|
|
td/telegram/NewPasswordState.h
|
2018-11-26 18:05:06 +01:00
|
|
|
td/telegram/Notification.h
|
2023-08-23 18:38:06 +02:00
|
|
|
td/telegram/NotificationGroupFromDatabase.h
|
2018-11-10 00:08:47 +01:00
|
|
|
td/telegram/NotificationGroupId.h
|
2023-08-21 17:52:56 +02:00
|
|
|
td/telegram/NotificationGroupInfo.h
|
2018-11-28 22:51:25 +01:00
|
|
|
td/telegram/NotificationGroupKey.h
|
2018-12-23 22:34:40 +01:00
|
|
|
td/telegram/NotificationGroupType.h
|
2018-11-10 00:08:47 +01:00
|
|
|
td/telegram/NotificationId.h
|
2018-11-09 15:14:02 +01:00
|
|
|
td/telegram/NotificationManager.h
|
2023-08-26 02:13:39 +02:00
|
|
|
td/telegram/NotificationObjectFullId.h
|
2023-08-25 01:04:44 +02:00
|
|
|
td/telegram/NotificationObjectId.h
|
2022-10-25 00:22:04 +02:00
|
|
|
td/telegram/NotificationSettingsScope.h
|
2022-04-04 23:40:22 +02:00
|
|
|
td/telegram/NotificationSettingsManager.h
|
2022-04-11 19:01:44 +02:00
|
|
|
td/telegram/NotificationSound.h
|
|
|
|
td/telegram/NotificationSoundType.h
|
2018-11-09 23:56:00 +01:00
|
|
|
td/telegram/NotificationType.h
|
2021-12-15 23:09:59 +01:00
|
|
|
td/telegram/OptionManager.h
|
2023-05-02 16:38:55 +02:00
|
|
|
td/telegram/OrderedMessage.h
|
2022-09-22 18:28:39 +02:00
|
|
|
td/telegram/OrderInfo.h
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/PasswordManager.h
|
|
|
|
td/telegram/Payments.h
|
2023-12-18 13:51:11 +01:00
|
|
|
td/telegram/PeerColor.h
|
2024-03-10 23:08:29 +01:00
|
|
|
td/telegram/PeopleNearbyManager.h
|
2019-02-16 17:01:47 +01:00
|
|
|
td/telegram/PhoneNumberManager.h
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/Photo.h
|
2022-04-10 21:10:41 +02:00
|
|
|
td/telegram/PhotoFormat.h
|
2022-04-10 00:15:49 +02:00
|
|
|
td/telegram/PhotoSize.h
|
2019-06-19 02:18:44 +02:00
|
|
|
td/telegram/PhotoSizeSource.h
|
2019-02-19 14:45:32 +01:00
|
|
|
td/telegram/PollId.h
|
|
|
|
td/telegram/PollManager.h
|
2022-05-24 00:21:03 +02:00
|
|
|
td/telegram/Premium.h
|
2022-07-01 14:57:38 +02:00
|
|
|
td/telegram/PremiumGiftOption.h
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/PrivacyManager.h
|
|
|
|
td/telegram/PtsManager.h
|
2019-10-22 12:40:24 +02:00
|
|
|
td/telegram/PublicDialogType.h
|
2019-02-25 04:08:18 +01:00
|
|
|
td/telegram/QueryCombiner.h
|
2023-01-13 11:09:38 +01:00
|
|
|
td/telegram/QueryMerger.h
|
2024-02-21 18:43:55 +01:00
|
|
|
td/telegram/QuickReplyManager.h
|
2024-02-29 15:11:39 +01:00
|
|
|
td/telegram/QuickReplyMessageFullId.h
|
2024-02-24 01:16:56 +01:00
|
|
|
td/telegram/QuickReplyShortcutId.h
|
2024-01-18 18:53:43 +01:00
|
|
|
td/telegram/ReactionListType.h
|
2023-08-09 11:59:48 +02:00
|
|
|
td/telegram/ReactionManager.h
|
2024-04-24 15:30:07 +02:00
|
|
|
td/telegram/ReactionNotificationSettings.h
|
|
|
|
td/telegram/ReactionNotificationsFrom.h
|
2023-08-04 17:39:07 +02:00
|
|
|
td/telegram/ReactionType.h
|
2024-01-24 15:11:41 +01:00
|
|
|
td/telegram/ReactionUnavailabilityReason.h
|
2021-09-13 19:34:57 +02:00
|
|
|
td/telegram/RecentDialogList.h
|
2023-10-24 11:04:45 +02:00
|
|
|
td/telegram/RepliedMessageInfo.h
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/ReplyMarkup.h
|
2021-02-20 01:55:09 +01:00
|
|
|
td/telegram/ReportReason.h
|
2018-10-01 01:26:06 +02:00
|
|
|
td/telegram/RequestActor.h
|
2023-01-11 14:54:46 +01:00
|
|
|
td/telegram/RequestedDialogType.h
|
2019-11-23 23:37:46 +01:00
|
|
|
td/telegram/RestrictionReason.h
|
2024-02-04 10:41:53 +01:00
|
|
|
td/telegram/SavedMessagesManager.h
|
2024-01-13 10:06:31 +01:00
|
|
|
td/telegram/SavedMessagesTopicId.h
|
2019-12-01 17:03:51 +01:00
|
|
|
td/telegram/ScheduledServerMessageId.h
|
2022-10-25 00:22:04 +02:00
|
|
|
td/telegram/ScopeNotificationSettings.h
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/SecretChatActor.h
|
|
|
|
td/telegram/SecretChatId.h
|
|
|
|
td/telegram/SecretChatDb.h
|
2021-07-05 04:42:37 +02:00
|
|
|
td/telegram/SecretChatLayer.h
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/SecretChatsManager.h
|
|
|
|
td/telegram/SecretInputMedia.h
|
2018-04-05 13:18:47 +02:00
|
|
|
td/telegram/SecureManager.h
|
2018-03-26 16:07:04 +02:00
|
|
|
td/telegram/SecureStorage.h
|
2018-03-27 15:11:15 +02:00
|
|
|
td/telegram/SecureValue.h
|
2019-02-16 16:49:39 +01:00
|
|
|
td/telegram/SendCodeHelper.h
|
2022-09-06 13:46:11 +02:00
|
|
|
td/telegram/SentEmailCode.h
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/SequenceDispatcher.h
|
2019-11-26 17:33:18 +01:00
|
|
|
td/telegram/ServerMessageId.h
|
2019-01-18 17:39:19 +01:00
|
|
|
td/telegram/SetWithPosition.h
|
2024-03-21 19:53:39 +01:00
|
|
|
td/telegram/SharedDialog.h
|
2020-04-21 02:29:20 +02:00
|
|
|
td/telegram/SpecialStickerSetType.h
|
2021-09-07 14:49:34 +02:00
|
|
|
td/telegram/SponsoredMessageManager.h
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/StateManager.h
|
2023-09-19 20:24:19 +02:00
|
|
|
td/telegram/StatisticsManager.h
|
2022-01-18 17:20:43 +01:00
|
|
|
td/telegram/StickerFormat.h
|
2023-10-19 14:12:26 +02:00
|
|
|
td/telegram/StickerListType.h
|
2023-02-09 18:15:21 +01:00
|
|
|
td/telegram/StickerMaskPosition.h
|
2023-01-20 23:51:38 +01:00
|
|
|
td/telegram/StickerPhotoSize.h
|
2019-09-18 05:55:43 +02:00
|
|
|
td/telegram/StickerSetId.h
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/StickersManager.h
|
2022-07-14 14:02:55 +02:00
|
|
|
td/telegram/StickerType.h
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/StorageManager.h
|
2023-05-18 16:20:22 +02:00
|
|
|
td/telegram/StoryContent.h
|
|
|
|
td/telegram/StoryContentType.h
|
2023-07-10 12:18:32 +02:00
|
|
|
td/telegram/StoryDb.h
|
2023-05-18 18:57:50 +02:00
|
|
|
td/telegram/StoryFullId.h
|
2023-05-01 21:33:52 +02:00
|
|
|
td/telegram/StoryId.h
|
2023-11-29 17:22:54 +01:00
|
|
|
td/telegram/StoryForwardInfo.h
|
2023-05-18 17:41:07 +02:00
|
|
|
td/telegram/StoryInteractionInfo.h
|
2023-07-08 14:42:23 +02:00
|
|
|
td/telegram/StoryListId.h
|
2023-05-01 21:19:16 +02:00
|
|
|
td/telegram/StoryManager.h
|
2023-08-22 18:10:22 +02:00
|
|
|
td/telegram/StoryNotificationSettings.h
|
2023-08-03 23:14:34 +02:00
|
|
|
td/telegram/StoryStealthMode.h
|
2023-08-07 15:03:10 +02:00
|
|
|
td/telegram/StoryViewer.h
|
2020-07-11 22:50:21 +02:00
|
|
|
td/telegram/SuggestedAction.h
|
2022-08-15 13:32:35 +02:00
|
|
|
td/telegram/Support.h
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/Td.h
|
|
|
|
td/telegram/TdCallback.h
|
|
|
|
td/telegram/TdDb.h
|
2018-06-07 20:42:17 +02:00
|
|
|
td/telegram/TermsOfService.h
|
2021-08-27 14:51:50 +02:00
|
|
|
td/telegram/ThemeManager.h
|
2024-02-19 12:34:28 +01:00
|
|
|
td/telegram/TimeZoneManager.h
|
2020-01-27 01:19:54 +01:00
|
|
|
td/telegram/TopDialogCategory.h
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/TopDialogManager.h
|
2022-10-19 19:43:30 +02:00
|
|
|
td/telegram/TranscriptionInfo.h
|
2023-11-21 13:14:26 +01:00
|
|
|
td/telegram/TranscriptionManager.h
|
2023-01-18 12:47:31 +01:00
|
|
|
td/telegram/TranslationManager.h
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/UniqueId.h
|
|
|
|
td/telegram/UpdatesManager.h
|
|
|
|
td/telegram/UserId.h
|
2024-04-01 14:05:02 +02:00
|
|
|
td/telegram/UserManager.h
|
2022-10-12 20:04:18 +02:00
|
|
|
td/telegram/Usernames.h
|
2023-05-08 13:41:08 +02:00
|
|
|
td/telegram/UserPrivacySetting.h
|
2023-05-08 12:50:51 +02:00
|
|
|
td/telegram/UserPrivacySettingRule.h
|
2019-10-13 01:39:44 +02:00
|
|
|
td/telegram/Venue.h
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/Version.h
|
|
|
|
td/telegram/VideoNotesManager.h
|
|
|
|
td/telegram/VideosManager.h
|
|
|
|
td/telegram/VoiceNotesManager.h
|
2023-02-21 20:35:20 +01:00
|
|
|
td/telegram/WebApp.h
|
2019-04-27 02:57:59 +02:00
|
|
|
td/telegram/WebPageBlock.h
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/WebPageId.h
|
|
|
|
td/telegram/WebPagesManager.h
|
|
|
|
|
|
|
|
td/telegram/AnimationsManager.hpp
|
|
|
|
td/telegram/AudiosManager.hpp
|
2018-03-14 19:04:41 +01:00
|
|
|
td/telegram/AuthManager.hpp
|
2023-04-10 15:32:59 +02:00
|
|
|
td/telegram/BackgroundInfo.hpp
|
2019-05-10 16:58:44 +02:00
|
|
|
td/telegram/BackgroundType.hpp
|
2024-03-20 21:13:00 +01:00
|
|
|
td/telegram/Birthdate.hpp
|
2024-02-26 18:27:17 +01:00
|
|
|
td/telegram/BusinessAwayMessage.hpp
|
2024-02-26 18:15:16 +01:00
|
|
|
td/telegram/BusinessAwayMessageSchedule.hpp
|
2024-03-04 14:06:36 +01:00
|
|
|
td/telegram/BusinessConnectedBot.hpp
|
2024-02-26 17:09:58 +01:00
|
|
|
td/telegram/BusinessGreetingMessage.hpp
|
2024-02-26 21:09:52 +01:00
|
|
|
td/telegram/BusinessInfo.hpp
|
2024-03-18 21:46:08 +01:00
|
|
|
td/telegram/BusinessIntro.hpp
|
2024-02-26 14:35:20 +01:00
|
|
|
td/telegram/BusinessRecipients.hpp
|
2024-02-20 13:22:02 +01:00
|
|
|
td/telegram/BusinessWorkHours.hpp
|
2023-08-06 01:32:09 +02:00
|
|
|
td/telegram/ChatReactions.hpp
|
2022-10-25 00:22:04 +02:00
|
|
|
td/telegram/DialogNotificationSettings.hpp
|
2020-06-02 12:58:53 +02:00
|
|
|
td/telegram/DialogFilter.hpp
|
2022-06-02 16:52:12 +02:00
|
|
|
td/telegram/Dimensions.hpp
|
2019-04-09 17:52:53 +02:00
|
|
|
td/telegram/Document.hpp
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/DocumentsManager.hpp
|
2018-09-29 01:45:43 +02:00
|
|
|
td/telegram/DraftMessage.hpp
|
2023-01-24 16:11:02 +01:00
|
|
|
td/telegram/EmojiGroup.hpp
|
2019-02-16 16:49:39 +01:00
|
|
|
td/telegram/FileReferenceManager.hpp
|
|
|
|
td/telegram/files/FileData.hpp
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/files/FileId.hpp
|
2019-02-16 16:49:39 +01:00
|
|
|
td/telegram/files/FileLocation.hpp
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/files/FileManager.hpp
|
2022-02-26 19:55:12 +01:00
|
|
|
td/telegram/files/FileSourceId.hpp
|
2022-12-05 15:37:09 +01:00
|
|
|
td/telegram/ForumTopic.hpp
|
2022-10-20 12:28:07 +02:00
|
|
|
td/telegram/ForumTopicEditedData.hpp
|
2022-10-18 15:08:53 +02:00
|
|
|
td/telegram/ForumTopicIcon.hpp
|
2022-11-16 15:26:51 +01:00
|
|
|
td/telegram/ForumTopicInfo.hpp
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/Game.hpp
|
2023-10-12 16:05:03 +02:00
|
|
|
td/telegram/GiveawayParameters.hpp
|
2022-09-22 18:08:06 +02:00
|
|
|
td/telegram/InputInvoice.hpp
|
2018-09-28 22:57:34 +02:00
|
|
|
td/telegram/InputMessageText.hpp
|
2023-08-01 14:17:50 +02:00
|
|
|
td/telegram/MediaArea.hpp
|
2023-08-01 13:20:42 +02:00
|
|
|
td/telegram/MediaAreaCoordinates.hpp
|
2018-04-02 00:45:51 +02:00
|
|
|
td/telegram/MessageEntity.hpp
|
2022-09-22 00:46:12 +02:00
|
|
|
td/telegram/MessageExtendedMedia.hpp
|
2024-01-11 16:20:53 +01:00
|
|
|
td/telegram/MessageForwardInfo.hpp
|
2023-10-24 14:02:57 +02:00
|
|
|
td/telegram/MessageInputReplyTo.hpp
|
2023-10-09 17:48:01 +02:00
|
|
|
td/telegram/MessageOrigin.hpp
|
2024-04-25 14:52:19 +02:00
|
|
|
td/telegram/MessageQuote.hpp
|
2022-01-20 20:54:34 +01:00
|
|
|
td/telegram/MessageReaction.hpp
|
2021-12-22 18:29:54 +01:00
|
|
|
td/telegram/MessageReplyInfo.hpp
|
|
|
|
td/telegram/MinChannel.hpp
|
2023-08-21 17:52:56 +02:00
|
|
|
td/telegram/NotificationGroupInfo.hpp
|
2022-09-22 18:28:39 +02:00
|
|
|
td/telegram/OrderInfo.hpp
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/Photo.hpp
|
2022-04-10 00:15:49 +02:00
|
|
|
td/telegram/PhotoSize.hpp
|
2019-06-19 02:18:44 +02:00
|
|
|
td/telegram/PhotoSizeSource.hpp
|
2019-02-19 14:45:32 +01:00
|
|
|
td/telegram/PollId.hpp
|
|
|
|
td/telegram/PollManager.hpp
|
2022-07-01 14:57:38 +02:00
|
|
|
td/telegram/PremiumGiftOption.hpp
|
2023-08-09 11:59:48 +02:00
|
|
|
td/telegram/ReactionManager.hpp
|
2024-04-24 15:30:07 +02:00
|
|
|
td/telegram/ReactionNotificationSettings.hpp
|
|
|
|
td/telegram/ReactionNotificationsFrom.hpp
|
2023-08-04 17:39:07 +02:00
|
|
|
td/telegram/ReactionType.hpp
|
2023-10-24 13:06:49 +02:00
|
|
|
td/telegram/RepliedMessageInfo.hpp
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/ReplyMarkup.hpp
|
2023-01-11 14:54:46 +01:00
|
|
|
td/telegram/RequestedDialogType.hpp
|
2022-10-25 00:22:04 +02:00
|
|
|
td/telegram/ScopeNotificationSettings.hpp
|
2018-03-27 15:11:15 +02:00
|
|
|
td/telegram/SecureValue.hpp
|
2019-02-16 16:49:39 +01:00
|
|
|
td/telegram/SendCodeHelper.hpp
|
2024-03-21 19:53:39 +01:00
|
|
|
td/telegram/SharedDialog.hpp
|
2023-02-09 18:15:21 +01:00
|
|
|
td/telegram/StickerMaskPosition.hpp
|
2023-01-20 23:51:38 +01:00
|
|
|
td/telegram/StickerPhotoSize.hpp
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/StickersManager.hpp
|
2023-11-29 17:22:54 +01:00
|
|
|
td/telegram/StoryForwardInfo.hpp
|
2023-07-03 15:03:28 +02:00
|
|
|
td/telegram/StoryInteractionInfo.hpp
|
2023-08-03 23:14:34 +02:00
|
|
|
td/telegram/StoryStealthMode.hpp
|
2024-03-30 22:35:02 +01:00
|
|
|
td/telegram/SuggestedAction.hpp
|
2022-10-19 19:43:30 +02:00
|
|
|
td/telegram/TranscriptionInfo.hpp
|
2018-12-31 20:04:05 +01:00
|
|
|
td/telegram/VideoNotesManager.hpp
|
|
|
|
td/telegram/VideosManager.hpp
|
|
|
|
td/telegram/VoiceNotesManager.hpp
|
2023-02-21 20:35:20 +01:00
|
|
|
td/telegram/WebApp.hpp
|
2018-12-31 20:04:05 +01:00
|
|
|
|
2024-05-18 20:16:51 +02:00
|
|
|
${TL_MTPROTO_AUTO_SOURCE}
|
|
|
|
|
|
|
|
${TL_TD_AUTO_SOURCE}
|
|
|
|
|
|
|
|
td/tl/TlObject.h
|
|
|
|
td/tl/tl_object_parse.h
|
|
|
|
td/tl/tl_object_store.h
|
2022-07-11 11:20:31 +02:00
|
|
|
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/td/telegram/GitCommitHash.cpp
|
2018-12-31 20:04:05 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
set(MEMPROF_SOURCE
|
|
|
|
memprof/memprof.cpp
|
|
|
|
memprof/memprof.h
|
|
|
|
)
|
|
|
|
|
2022-02-10 14:36:34 +01:00
|
|
|
set(MEMPROF_STAT_SOURCE
|
|
|
|
memprof/memprof_stat.cpp
|
|
|
|
memprof/memprof_stat.h
|
|
|
|
)
|
|
|
|
|
2018-12-31 20:04:05 +01:00
|
|
|
#LIBRARIES
|
|
|
|
|
|
|
|
# memprof - simple library for memory usage profiling
|
|
|
|
add_library(memprof STATIC ${MEMPROF_SOURCE})
|
|
|
|
target_include_directories(memprof PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>)
|
|
|
|
target_link_libraries(memprof PRIVATE tdutils)
|
|
|
|
if (MEMPROF)
|
|
|
|
target_compile_definitions(memprof PRIVATE -DUSE_MEMPROF=1)
|
|
|
|
if (MEMPROF STREQUAL "SAFE")
|
|
|
|
target_compile_definitions(memprof PRIVATE -DUSE_MEMPROF_SAFE=1)
|
|
|
|
elseif (MEMPROF STREQUAL "FAST")
|
|
|
|
target_compile_definitions(memprof PRIVATE -DUSE_MEMPROF_FAST=1)
|
2019-04-04 21:23:06 +02:00
|
|
|
elseif (NOT MEMPROF)
|
2018-12-31 20:04:05 +01:00
|
|
|
message(FATAL_ERROR "Unsupported MEMPROF value \"${MEMPROF}\"")
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
|
2022-02-10 18:26:11 +01:00
|
|
|
add_library(memprof_stat EXCLUDE_FROM_ALL STATIC ${MEMPROF_STAT_SOURCE})
|
2022-02-10 14:36:34 +01:00
|
|
|
target_include_directories(memprof_stat PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>)
|
|
|
|
target_link_libraries(memprof_stat PRIVATE tdutils)
|
|
|
|
|
2018-12-31 20:04:05 +01:00
|
|
|
|
2021-06-25 18:05:07 +02:00
|
|
|
add_library(tdapi ${TL_TD_API_SOURCE})
|
2020-02-24 01:27:06 +01:00
|
|
|
target_include_directories(tdapi PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}> INTERFACE $<BUILD_INTERFACE:${TL_TD_AUTO_INCLUDE_DIR}>)
|
|
|
|
target_link_libraries(tdapi PRIVATE tdutils)
|
2018-12-31 20:04:05 +01:00
|
|
|
|
2018-01-21 12:45:24 +01:00
|
|
|
if (TD_ENABLE_JNI AND NOT ANDROID) # jni is available by default on Android
|
2018-01-15 14:47:24 +01:00
|
|
|
if (NOT JNI_FOUND)
|
2023-09-06 10:51:47 +02:00
|
|
|
find_package(JNI REQUIRED COMPONENTS JVM)
|
2018-01-15 14:47:24 +01:00
|
|
|
endif()
|
|
|
|
message(STATUS "Found JNI: ${JNI_INCLUDE_DIRS} ${JNI_LIBRARIES}")
|
2020-02-24 01:27:06 +01:00
|
|
|
target_include_directories(tdapi PUBLIC ${JAVA_INCLUDE_PATH} ${JAVA_INCLUDE_PATH2})
|
|
|
|
target_link_libraries(tdapi PUBLIC ${JAVA_JVM_LIBRARY})
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if (NOT CMAKE_CROSSCOMPILING)
|
|
|
|
add_dependencies(tdapi tl_generate_common)
|
2018-01-15 14:47:24 +01:00
|
|
|
endif()
|
|
|
|
|
2020-02-24 01:27:06 +01:00
|
|
|
# tdcore - mostly internal TDLib interface. One should use tdactor for interactions with it.
|
|
|
|
add_library(tdcore STATIC ${TDLIB_SOURCE})
|
|
|
|
target_include_directories(tdcore PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}> $<BUILD_INTERFACE:${TL_TD_AUTO_INCLUDE_DIR}>)
|
|
|
|
target_include_directories(tdcore SYSTEM PRIVATE ${OPENSSL_INCLUDE_DIR})
|
|
|
|
target_link_libraries(tdcore PUBLIC tdapi tdactor tdutils tdnet tddb PRIVATE ${OPENSSL_CRYPTO_LIBRARY} ${CMAKE_DL_LIBS} ${ZLIB_LIBRARIES})
|
2020-07-28 00:34:35 +02:00
|
|
|
if (WIN32)
|
|
|
|
if (MINGW)
|
2020-10-11 22:48:17 +02:00
|
|
|
target_link_libraries(tdcore PRIVATE ws2_32 mswsock crypt32)
|
2020-07-28 00:34:35 +02:00
|
|
|
else()
|
2020-10-11 22:48:17 +02:00
|
|
|
target_link_libraries(tdcore PRIVATE ws2_32 Mswsock Crypt32)
|
2020-07-28 00:34:35 +02:00
|
|
|
endif()
|
|
|
|
endif()
|
2020-02-24 01:27:06 +01:00
|
|
|
|
2018-12-31 20:04:05 +01:00
|
|
|
if (NOT CMAKE_CROSSCOMPILING)
|
|
|
|
add_dependencies(tdcore tl_generate_common)
|
2018-01-21 12:45:24 +01:00
|
|
|
if (TD_ENABLE_JNI)
|
2018-01-22 06:24:47 +01:00
|
|
|
add_dependencies(tdcore td_generate_java_api)
|
2018-01-21 12:45:24 +01:00
|
|
|
endif()
|
2018-03-16 16:29:16 +01:00
|
|
|
if (TD_ENABLE_DOTNET)
|
|
|
|
add_dependencies(tdcore remove_cpp_documentation)
|
|
|
|
endif()
|
2018-12-31 20:04:05 +01:00
|
|
|
endif()
|
|
|
|
|
|
|
|
add_library(tdclient td/telegram/Client.cpp td/telegram/Client.h td/telegram/Log.cpp td/telegram/Log.h)
|
|
|
|
target_include_directories(tdclient PUBLIC
|
|
|
|
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
|
|
|
|
)
|
2020-02-24 01:27:06 +01:00
|
|
|
target_link_libraries(tdclient PUBLIC tdapi PRIVATE tdcore)
|
2018-01-15 14:47:24 +01:00
|
|
|
|
2018-02-26 19:08:47 +01:00
|
|
|
if (TD_ENABLE_DOTNET)
|
2018-02-28 00:13:04 +01:00
|
|
|
add_library(tddotnet SHARED
|
2018-02-28 00:09:23 +01:00
|
|
|
td/telegram/ClientDotNet.cpp
|
|
|
|
td/telegram/LogDotNet.cpp
|
2018-02-27 23:03:38 +01:00
|
|
|
${TL_DOTNET_SCHEME_SOURCE}
|
2018-02-26 19:08:47 +01:00
|
|
|
)
|
2018-03-02 14:55:55 +01:00
|
|
|
set_target_properties(tddotnet PROPERTIES OUTPUT_NAME Telegram.Td)
|
2018-02-28 00:13:04 +01:00
|
|
|
target_link_libraries(tddotnet PRIVATE tdclient tdutils)
|
|
|
|
target_include_directories(tddotnet PUBLIC
|
2020-01-24 01:05:58 +01:00
|
|
|
$<BUILD_INTERFACE:${TL_TD_AUTO_INCLUDE_DIR}>
|
2018-02-26 19:08:47 +01:00
|
|
|
)
|
|
|
|
if (NOT CMAKE_CROSSCOMPILING)
|
2018-02-28 00:13:04 +01:00
|
|
|
add_dependencies(tddotnet generate_dotnet_api)
|
2018-02-26 19:08:47 +01:00
|
|
|
endif()
|
2018-03-15 17:25:51 +01:00
|
|
|
|
2018-03-16 16:29:16 +01:00
|
|
|
target_compile_options(tddotnet PRIVATE "/doc")
|
2019-04-04 21:23:06 +02:00
|
|
|
if (CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
|
2018-02-28 00:13:04 +01:00
|
|
|
set_target_properties(tddotnet PROPERTIES VS_WINRT_COMPONENT "true")
|
|
|
|
target_compile_options(tddotnet PUBLIC "/ZW")
|
2018-02-26 19:08:47 +01:00
|
|
|
else()
|
2018-02-28 00:13:04 +01:00
|
|
|
set_target_properties(tddotnet PROPERTIES COMPILE_FLAGS "/GR /clr")
|
|
|
|
target_compile_options(tddotnet PUBLIC "/EHa")
|
2018-02-26 19:08:47 +01:00
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
|
2018-12-31 20:04:05 +01:00
|
|
|
# tdc - TDLib interface in pure c.
|
2018-10-22 17:49:05 +02:00
|
|
|
add_library(tdc STATIC EXCLUDE_FROM_ALL ${TL_C_SCHEME_SOURCE} td/telegram/td_c_client.cpp td/telegram/td_c_client.h)
|
2018-12-31 20:04:05 +01:00
|
|
|
target_include_directories(tdc PUBLIC
|
|
|
|
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
|
2020-01-24 01:05:58 +01:00
|
|
|
$<BUILD_INTERFACE:${TL_TD_AUTO_INCLUDE_DIR}>)
|
2018-12-31 20:04:05 +01:00
|
|
|
target_link_libraries(tdc PRIVATE tdclient tdutils)
|
|
|
|
if (NOT CMAKE_CROSSCOMPILING)
|
|
|
|
add_dependencies(tdc tl_generate_c)
|
|
|
|
endif()
|
|
|
|
|
2020-02-24 01:27:06 +01:00
|
|
|
add_library(tdjson_private STATIC ${TL_TD_JSON_SOURCE} td/telegram/ClientJson.cpp td/telegram/ClientJson.h)
|
2018-12-31 20:04:05 +01:00
|
|
|
target_include_directories(tdjson_private PUBLIC
|
|
|
|
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
|
2020-01-24 01:05:58 +01:00
|
|
|
$<BUILD_INTERFACE:${TL_TD_AUTO_INCLUDE_DIR}>)
|
2018-12-31 20:04:05 +01:00
|
|
|
target_link_libraries(tdjson_private PUBLIC tdclient tdutils)
|
|
|
|
if (NOT CMAKE_CROSSCOMPILING)
|
|
|
|
add_dependencies(tdjson_private tl_generate_common tl_generate_json)
|
2018-03-16 16:29:16 +01:00
|
|
|
if (TD_ENABLE_DOTNET)
|
|
|
|
add_dependencies(tdjson_private remove_cpp_documentation)
|
|
|
|
endif()
|
2018-12-31 20:04:05 +01:00
|
|
|
endif()
|
|
|
|
|
|
|
|
set(TD_JSON_HEADERS td/telegram/td_json_client.h td/telegram/td_log.h)
|
|
|
|
set(TD_JSON_SOURCE td/telegram/td_json_client.cpp td/telegram/td_log.cpp)
|
|
|
|
|
|
|
|
include(GenerateExportHeader)
|
|
|
|
|
|
|
|
add_library(tdjson SHARED ${TD_JSON_SOURCE} ${TD_JSON_HEADERS})
|
|
|
|
target_link_libraries(tdjson PRIVATE tdjson_private)
|
|
|
|
generate_export_header(tdjson EXPORT_FILE_NAME ${CMAKE_CURRENT_BINARY_DIR}/td/telegram/tdjson_export.h)
|
2018-03-04 13:27:12 +01:00
|
|
|
target_include_directories(tdjson PUBLIC
|
|
|
|
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}>
|
|
|
|
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>)
|
2018-12-31 20:04:05 +01:00
|
|
|
if (APPLE)
|
|
|
|
set_target_properties(tdjson PROPERTIES LINK_FLAGS "-Wl,-exported_symbols_list,${CMAKE_CURRENT_SOURCE_DIR}/tdclientjson_export_list")
|
|
|
|
endif()
|
|
|
|
|
|
|
|
add_library(tdjson_static STATIC ${TD_JSON_SOURCE} ${TD_JSON_HEADERS})
|
|
|
|
target_link_libraries(tdjson_static PRIVATE tdjson_private)
|
|
|
|
target_compile_definitions(tdjson_static PUBLIC TDJSON_STATIC_DEFINE)
|
2018-03-04 13:27:12 +01:00
|
|
|
target_include_directories(tdjson_static PUBLIC
|
|
|
|
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}>
|
|
|
|
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>)
|
2018-12-31 20:04:05 +01:00
|
|
|
|
|
|
|
if (EMSCRIPTEN)
|
|
|
|
set(TD_EMSCRIPTEN_SRC td/telegram/td_emscripten.cpp)
|
|
|
|
add_executable(${TD_EMSCRIPTEN} ${TD_EMSCRIPTEN_SRC})
|
|
|
|
target_include_directories(${TD_EMSCRIPTEN} PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>)
|
2018-09-18 15:43:16 +02:00
|
|
|
target_link_libraries(${TD_EMSCRIPTEN} PRIVATE tdjson_static tdactor)
|
2018-12-31 20:04:05 +01:00
|
|
|
endif()
|
|
|
|
|
|
|
|
#EXECUTABLES
|
|
|
|
if (NOT CMAKE_CROSSCOMPILING)
|
2020-02-24 01:27:06 +01:00
|
|
|
add_executable(tg_cli td/telegram/cli.cpp ${TL_TD_JSON_SOURCE})
|
2018-12-31 20:04:05 +01:00
|
|
|
|
|
|
|
if (NOT READLINE_FOUND)
|
2023-10-14 23:23:01 +02:00
|
|
|
find_package(Readline QUIET)
|
2018-12-31 20:04:05 +01:00
|
|
|
endif()
|
2023-10-14 23:23:01 +02:00
|
|
|
if (READLINE_FOUND)
|
2018-12-31 20:04:05 +01:00
|
|
|
message(STATUS "Found Readline: ${READLINE_INCLUDE_DIR} ${READLINE_LIBRARY}")
|
2019-02-01 15:04:18 +01:00
|
|
|
if (NOT USABLE_READLINE_FOUND)
|
|
|
|
set(CMAKE_REQUIRED_INCLUDES "${READLINE_INCLUDE_DIR}")
|
|
|
|
set(CMAKE_REQUIRED_LIBRARIES "${READLINE_LIBRARY}")
|
|
|
|
include(CheckCXXSourceCompiles)
|
|
|
|
unset(USABLE_READLINE_FOUND CACHE)
|
|
|
|
check_cxx_source_compiles("#include <stdio.h>\n#include <readline/readline.h>\nint main() { rl_free(0); }" USABLE_READLINE_FOUND)
|
|
|
|
if (NOT USABLE_READLINE_FOUND)
|
|
|
|
message(STATUS "Found Readline is too old, ignore it (this is NOT an error)")
|
|
|
|
unset(READLINE_INCLUDE_DIR CACHE)
|
|
|
|
unset(READLINE_LIBRARY CACHE)
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
if (USABLE_READLINE_FOUND)
|
|
|
|
target_link_libraries(tg_cli PRIVATE ${READLINE_LIBRARY})
|
|
|
|
target_include_directories(tg_cli SYSTEM PRIVATE ${READLINE_INCLUDE_DIR})
|
|
|
|
target_compile_definitions(tg_cli PRIVATE -DUSE_READLINE=1)
|
|
|
|
endif()
|
2018-12-31 20:04:05 +01:00
|
|
|
endif()
|
2020-02-23 23:29:51 +01:00
|
|
|
target_link_libraries(tg_cli PRIVATE memprof tdclient tdcore)
|
2018-12-31 20:04:05 +01:00
|
|
|
add_dependencies(tg_cli tl_generate_json)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
#Exported libraries
|
|
|
|
add_library(TdStatic INTERFACE)
|
|
|
|
target_link_libraries(TdStatic INTERFACE tdclient)
|
|
|
|
|
|
|
|
add_library(TdJson INTERFACE)
|
|
|
|
target_link_libraries(TdJson INTERFACE tdjson)
|
|
|
|
|
|
|
|
add_library(TdJsonStatic INTERFACE)
|
|
|
|
target_link_libraries(TdJsonStatic INTERFACE tdjson_static)
|
|
|
|
|
|
|
|
add_library(Td::TdStatic ALIAS TdStatic)
|
|
|
|
add_library(Td::TdJson ALIAS TdJson)
|
|
|
|
add_library(Td::TdJsonStatic ALIAS TdJsonStatic)
|
|
|
|
|
2023-10-14 23:57:35 +02:00
|
|
|
set(INSTALL_TARGETS tdjson TdJson)
|
|
|
|
set(INSTALL_STATIC_TARGETS tdjson_static TdJsonStatic tdjson_private tdcore)
|
|
|
|
if (BUILD_SHARED_LIBS)
|
|
|
|
set(INSTALL_TARGETS ${INSTALL_TARGETS} tdclient TdStatic tdapi)
|
|
|
|
else()
|
|
|
|
set(INSTALL_STATIC_TARGETS ${INSTALL_STATIC_TARGETS} tdclient TdStatic tdapi)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
install(TARGETS ${INSTALL_TARGETS} EXPORT TdTargets
|
2020-01-24 00:01:07 +01:00
|
|
|
LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}"
|
|
|
|
ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}"
|
2020-01-24 01:03:18 +01:00
|
|
|
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
|
|
|
|
INCLUDES DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}"
|
2018-12-31 20:04:05 +01:00
|
|
|
)
|
|
|
|
|
2023-10-14 23:57:35 +02:00
|
|
|
install(TARGETS ${INSTALL_STATIC_TARGETS} EXPORT TdStaticTargets
|
|
|
|
LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}"
|
|
|
|
ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}"
|
|
|
|
INCLUDES DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}"
|
|
|
|
)
|
|
|
|
|
2020-10-12 20:31:22 +02:00
|
|
|
# generate pkg-config files
|
|
|
|
include(GeneratePkgConfig)
|
|
|
|
|
|
|
|
generate_pkgconfig(tdutils "Telegram Library - Utils")
|
|
|
|
generate_pkgconfig(tdactor "Telegram Library - Actor")
|
|
|
|
generate_pkgconfig(tdnet "Telegram Library - Net")
|
|
|
|
generate_pkgconfig(tdsqlite "Telegram Library - SQLite")
|
2020-10-12 21:27:26 +02:00
|
|
|
generate_pkgconfig(tddb "Telegram Library - Database")
|
|
|
|
if (MEMPROF)
|
|
|
|
# generate_pkgconfig(memprof "memprof - simple library for memory usage profiling")
|
2020-10-12 20:31:22 +02:00
|
|
|
endif()
|
|
|
|
generate_pkgconfig(tdcore "Telegram Library - Core")
|
|
|
|
generate_pkgconfig(tdclient "Telegram Library - C++ Interface")
|
2020-10-12 21:27:26 +02:00
|
|
|
if (TD_ENABLE_DOTNET)
|
|
|
|
# generate_pkgconfig(tddotnet "Telegram Library - C# Interface")
|
2020-10-12 20:31:22 +02:00
|
|
|
endif()
|
2020-10-12 21:27:26 +02:00
|
|
|
# generate_pkgconfig(tdc "Telegram Library - C interface")
|
|
|
|
generate_pkgconfig(tdapi "Telegram Library - API")
|
2020-10-13 00:09:26 +02:00
|
|
|
generate_pkgconfig(tdjson_private "Telegram Library - JSON interface (private)")
|
|
|
|
generate_pkgconfig(tdjson "Telegram Library - JSON interface (shared)")
|
|
|
|
generate_pkgconfig(tdjson_static "Telegram Library - JSON interface (static)")
|
2020-10-12 20:31:22 +02:00
|
|
|
|
2018-12-31 20:04:05 +01:00
|
|
|
install(EXPORT TdTargets
|
|
|
|
FILE TdTargets.cmake
|
|
|
|
NAMESPACE Td::
|
2020-01-24 00:01:07 +01:00
|
|
|
DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/Td"
|
2018-12-31 20:04:05 +01:00
|
|
|
)
|
2023-10-14 02:05:01 +02:00
|
|
|
install(EXPORT TdStaticTargets
|
|
|
|
FILE TdStaticTargets.cmake
|
|
|
|
NAMESPACE Td::
|
|
|
|
DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/Td"
|
|
|
|
)
|
2018-12-31 20:04:05 +01:00
|
|
|
|
2020-02-25 00:47:33 +01:00
|
|
|
# Install tdjson/tdjson_static:
|
2020-01-24 01:03:18 +01:00
|
|
|
install(FILES ${TD_JSON_HEADERS} "${CMAKE_CURRENT_BINARY_DIR}/td/telegram/tdjson_export.h" DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/td/telegram")
|
2020-02-25 00:47:33 +01:00
|
|
|
# Install tdclient:
|
2020-01-24 01:03:18 +01:00
|
|
|
install(FILES td/telegram/Client.h td/telegram/Log.h DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/td/telegram")
|
2020-02-25 00:47:33 +01:00
|
|
|
# Install tdapi:
|
2020-01-24 01:03:18 +01:00
|
|
|
install(FILES td/tl/TlObject.h DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/td/tl")
|
2020-01-24 01:05:58 +01:00
|
|
|
install(FILES "${TL_TD_AUTO_INCLUDE_DIR}/td/telegram/td_api.h" "${TL_TD_AUTO_INCLUDE_DIR}/td/telegram/td_api.hpp" DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/td/telegram")
|
2018-01-21 12:45:24 +01:00
|
|
|
if (TD_ENABLE_JNI)
|
2020-01-24 01:03:18 +01:00
|
|
|
install(FILES td/tl/tl_jni_object.h DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/td/tl")
|
2018-01-15 14:47:24 +01:00
|
|
|
endif()
|
2020-11-12 15:32:12 +01:00
|
|
|
if (MSVC AND VCPKG_TOOLCHAIN)
|
|
|
|
install(DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/$<CONFIG>/" DESTINATION "${CMAKE_INSTALL_BINDIR}" FILES_MATCHING PATTERN "*.dll")
|
|
|
|
endif()
|
2018-12-31 20:04:05 +01:00
|
|
|
|
|
|
|
include(CMakePackageConfigHelpers)
|
|
|
|
write_basic_package_version_file("TdConfigVersion.cmake"
|
2020-01-24 00:01:07 +01:00
|
|
|
VERSION "${TDLib_VERSION}"
|
2018-12-31 20:04:05 +01:00
|
|
|
COMPATIBILITY ExactVersion
|
|
|
|
)
|
|
|
|
install(FILES "TdConfig.cmake" "${CMAKE_CURRENT_BINARY_DIR}/TdConfigVersion.cmake"
|
2020-01-24 00:01:07 +01:00
|
|
|
DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/Td"
|
2018-12-31 20:04:05 +01:00
|
|
|
)
|
2018-09-17 13:39:11 +02:00
|
|
|
|
|
|
|
# Add SOVERSION to shared libraries
|
2020-01-24 00:01:07 +01:00
|
|
|
set_property(TARGET tdclient PROPERTY SOVERSION "${TDLib_VERSION}")
|
2021-06-25 18:05:07 +02:00
|
|
|
set_property(TARGET tdapi PROPERTY SOVERSION "${TDLib_VERSION}")
|
2020-01-24 00:01:07 +01:00
|
|
|
set_property(TARGET tdjson PROPERTY SOVERSION "${TDLib_VERSION}")
|