chore: iwyu headers (#3661)
This commit is contained in:
parent
6b25a57899
commit
29f57bc296
|
@ -8,9 +8,9 @@
|
|||
#include <cstdio> /* printf */
|
||||
#include <cstdlib> /* atoi */
|
||||
#include <iostream>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
#include <utility>
|
||||
|
||||
#ifdef HAVE_SYSLOG
|
||||
#include <syslog.h>
|
||||
|
|
|
@ -5,10 +5,13 @@
|
|||
#include <algorithm>
|
||||
#include <cstdlib> // exit()
|
||||
#include <ctime>
|
||||
#include <iterator> // for std::back_inserter
|
||||
#include <map>
|
||||
#include <memory>
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
#include <thread>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include <locale.h>
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <limits.h> /* INT_MAX */
|
||||
#include <memory>
|
||||
#include <numeric>
|
||||
#include <sstream>
|
||||
#include <stddef.h>
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
#include <climits> /* INT_MAX */
|
||||
#include <cstddef>
|
||||
#include <list>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
#include <unordered_map>
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
#include <memory>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
#include <utility>
|
||||
|
||||
#include <glibmm.h>
|
||||
#include <giomm.h>
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#include <array>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
#include <glibmm/i18n.h>
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
#include <memory>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
#include <utility>
|
||||
|
||||
#include <glibmm.h>
|
||||
#include <glibmm/i18n.h>
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
#include <map>
|
||||
#include <memory>
|
||||
|
||||
#include <glibmm.h>
|
||||
#include <glibmm/i18n.h>
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#include <map>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include <giomm.h>
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
|
||||
#include <list>
|
||||
#include <memory>
|
||||
#include <utility>
|
||||
|
||||
#include <glibmm.h>
|
||||
#include <glibmm/i18n.h>
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#include <errno.h>
|
||||
#include <stdlib.h> /* strtol() */
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#include <climits> /* USHRT_MAX, INT_MAX */
|
||||
#include <memory>
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
#include <memory>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
#include <utility>
|
||||
|
||||
#include <glibmm/i18n.h>
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
// We're using deprecated Gtk::StatusItem ourselves as well
|
||||
#undef GTKMM_DISABLE_DEPRECATED
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
#include <glibmm.h>
|
||||
|
|
|
@ -8,6 +8,8 @@
|
|||
#include <errno.h>
|
||||
#include <functional>
|
||||
#include <limits.h> /* INT_MAX */
|
||||
#include <memory>
|
||||
#include <utility>
|
||||
|
||||
#include <giomm.h> /* g_file_trash() */
|
||||
#include <glibmm/i18n.h>
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
#include <ctime>
|
||||
#include <functional>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include <sys/types.h>
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#include <algorithm>
|
||||
#include <set>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
#include <optional>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
#include <utility>
|
||||
|
||||
#include <curl/curl.h>
|
||||
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
#include <deque>
|
||||
#include <iterator>
|
||||
#include <map>
|
||||
#include <memory>
|
||||
#include <numeric>
|
||||
#include <set>
|
||||
#include <string>
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#include <algorithm>
|
||||
#include <cerrno>
|
||||
#include <cstdio>
|
||||
#include <cstdlib> // bsearch()
|
||||
#include <string_view>
|
||||
|
|
|
@ -9,6 +9,8 @@
|
|||
#error only libtransmission should #include this header.
|
||||
#endif
|
||||
|
||||
#include <cstddef> // for size_t
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
#include <vector>
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
#include <cstdlib> // std::lldiv()
|
||||
#include <iterator> // std::distance(), std::next(), std::prev()
|
||||
#include <limits> // std::numeric_limits<size_t>::max()
|
||||
#include <memory>
|
||||
#include <numeric> // std::accumulate()
|
||||
#include <utility> // std::make_pair()
|
||||
#include <vector>
|
||||
|
|
|
@ -9,10 +9,11 @@
|
|||
#error only libtransmission should #include this header.
|
||||
#endif
|
||||
|
||||
#include <cstdint> // intX_t, uintX_t
|
||||
#include <cstdint> // for size_t
|
||||
#include <cstdint> // for intX_t, uintX_t
|
||||
#include <ctime>
|
||||
#include <memory> // std::unique_ptr
|
||||
#include <utility> // std::pair
|
||||
#include <memory> // for std::unique_ptr
|
||||
#include <utility> // for std::pair
|
||||
#include <vector>
|
||||
|
||||
#include "transmission.h"
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
|
||||
#include <algorithm>
|
||||
#include <memory>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "transmission.h"
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
// or any future license endorsed by Mnemosyne LLC.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#include <memory>
|
||||
#include <mutex>
|
||||
|
||||
#if defined(CYASSL_IS_WOLFSSL)
|
||||
|
|
|
@ -8,6 +8,8 @@
|
|||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||
#endif
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include <openssl/crypto.h>
|
||||
#include <openssl/err.h>
|
||||
#include <openssl/evp.h>
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
// or any future license endorsed by Mnemosyne LLC.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#include <memory>
|
||||
#include <mutex>
|
||||
|
||||
#if defined(POLARSSL_IS_MBEDTLS)
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
|
||||
#include <array>
|
||||
#include <cstddef> // size_t
|
||||
#include <cstdint>
|
||||
#include <memory>
|
||||
#include <optional>
|
||||
#include <string>
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <cctype> // for isalpha()
|
||||
#include <iterator> // for std::back_inserter
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
#include <chrono>
|
||||
#include <cstring>
|
||||
#include <string_view>
|
||||
#include <utility>
|
||||
|
||||
#include <event2/buffer.h>
|
||||
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
#error only libtransmission should #include this header.
|
||||
#endif
|
||||
|
||||
#include <cstddef> // for size_t
|
||||
#include <optional>
|
||||
#include <memory>
|
||||
|
||||
|
|
|
@ -10,8 +10,9 @@
|
|||
#endif
|
||||
|
||||
#include <array>
|
||||
#include <cstdint>
|
||||
#include <ctime> // time_t
|
||||
#include <cstddef> // for size_t
|
||||
#include <cstdint> // for uint32_t
|
||||
#include <ctime> // for time_t
|
||||
|
||||
/**
|
||||
* A short-term memory object that remembers how many times something
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <functional>
|
||||
#include <utility>
|
||||
|
||||
// A fixed-size cache that erases least-recently-used items to make room for new ones.
|
||||
template<typename Key, typename Val, std::size_t N>
|
||||
|
|
|
@ -3,11 +3,13 @@
|
|||
// or any future license endorsed by Mnemosyne LLC.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#include <cerrno> // for ENOENT
|
||||
#include <optional>
|
||||
#include <set>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
#include <thread>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include <fmt/format.h>
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
#include <algorithm> // std::move
|
||||
#include <cstddef> // std::byte
|
||||
#include <cstdint>
|
||||
#include <future>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
#endif
|
||||
|
||||
#include <ctime> // time_t
|
||||
#include <cstdint>
|
||||
|
||||
#include "transmission.h" // tr_port_forwarding
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
#ifdef _WIN32
|
||||
#include <ws2tcpip.h>
|
||||
#else
|
||||
#include <errno.h>
|
||||
#include <cerrno>
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
#endif
|
||||
|
|
|
@ -5,9 +5,9 @@
|
|||
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <cerrno>
|
||||
#include <cstdint> // uint8_t, uint64_t
|
||||
#include <string_view>
|
||||
#include <utility>
|
||||
|
||||
#include <fmt/core.h>
|
||||
|
||||
|
|
|
@ -9,7 +9,8 @@
|
|||
#error only libtransmission should #include this header.
|
||||
#endif
|
||||
|
||||
#include <cstdint>
|
||||
#include <cstddef> // for size_t
|
||||
#include <cstdint> // for uintX_t
|
||||
#include <optional>
|
||||
#include <string_view>
|
||||
#include <utility>
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
|
||||
#include <algorithm>
|
||||
#include <cstddef>
|
||||
#include <iterator>
|
||||
#include <set>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
#include <cstddef> // size_t
|
||||
#include <cstdint> // uint8_t, uint64_t
|
||||
#include <string>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#ifdef _WIN32
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include <map>
|
||||
#include <memory> // std::unique_ptr
|
||||
#include <optional>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include <event2/buffer.h>
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
#include <cstdint> // int8_t
|
||||
#include <cstddef> // size_t
|
||||
#include <ctime> // time_t
|
||||
#include <utility>
|
||||
|
||||
#include "bitfield.h"
|
||||
#include "peer-common.h"
|
||||
|
|
|
@ -5,10 +5,10 @@
|
|||
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <iterator>
|
||||
#include <list>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#ifdef __HAIKU__
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
|
||||
#include <algorithm>
|
||||
#include <chrono>
|
||||
#include <memory>
|
||||
|
||||
#include <fmt/core.h>
|
||||
|
||||
|
|
|
@ -5,12 +5,13 @@
|
|||
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <cerrno>
|
||||
#include <chrono>
|
||||
#include <cstring> /* memcpy */
|
||||
#include <ctime>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#ifndef _WIN32
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
#include <cerrno>
|
||||
#include <ctime>
|
||||
#include <iterator>
|
||||
#include <memory>
|
||||
#include <numeric>
|
||||
#include <set>
|
||||
#include <string_view>
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#include <algorithm> // std::partial_sort(), std::min(), std::max()
|
||||
#include <cerrno> /* ENOENT */
|
||||
#include <climits> /* INT_MAX */
|
||||
#include <condition_variable>
|
||||
#include <csignal>
|
||||
|
@ -18,6 +17,7 @@
|
|||
#include <string>
|
||||
#include <string_view>
|
||||
#include <unordered_set>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#ifndef _WIN32
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
#error only libtransmission should #include this header.
|
||||
#endif
|
||||
|
||||
#include <cstdint>
|
||||
#include <ctime>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
|
||||
#include <algorithm>
|
||||
#include <climits>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
#include <cwchar>
|
||||
#include <map>
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
|
||||
#include <chrono>
|
||||
#include <memory>
|
||||
#include <utility>
|
||||
|
||||
#include <event2/event.h>
|
||||
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "timer.h"
|
||||
|
||||
extern "C"
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
#include <chrono>
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
#include <utility>
|
||||
|
||||
namespace libtransmission
|
||||
{
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
#include <optional>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "transmission.h"
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
#include <set>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
#include <utility>
|
||||
|
||||
#include <fmt/format.h>
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <cctype>
|
||||
#include <cerrno> // for EINVAL
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
#include <vector>
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
#include <string>
|
||||
#include <string_view>
|
||||
#include <unordered_map>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#ifndef _WIN32
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
#include <optional>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "transmission.h"
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
|
||||
#include <ctime>
|
||||
#include <string_view>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "transmission.h"
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
#include <cstdlib> // for abort()
|
||||
|
||||
#include <fmt/format.h>
|
||||
|
||||
#include "tr-assert.h"
|
||||
|
|
|
@ -5,11 +5,13 @@
|
|||
#include <algorithm>
|
||||
#include <cerrno>
|
||||
#include <chrono>
|
||||
#include <csignal> /* sig_atomic_t */
|
||||
#include <csignal> // for sig_atomic_t
|
||||
#include <cstdlib> // for abort()
|
||||
#include <cstdio>
|
||||
#include <cstring> /* memcpy(), memset() */
|
||||
#include <cstring> // for memcpy(), memset()
|
||||
#include <ctime>
|
||||
#include <fstream>
|
||||
#include <memory>
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
#include <chrono>
|
||||
#include <csignal> /* sig_atomic_t */
|
||||
#include <cstring> /* strlen(), strncpy(), strstr(), memset() */
|
||||
#include <memory>
|
||||
#include <type_traits>
|
||||
|
||||
#ifdef _WIN32
|
||||
|
|
|
@ -3,10 +3,14 @@
|
|||
// or any future license endorsed by Mnemosyne LLC.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#ifndef __TRANSMISSION__
|
||||
#error only libtransmission should #include this header.
|
||||
#endif
|
||||
|
||||
#ifndef TR_POPCNT_H
|
||||
#define TR_POPCNT_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <cstdint>
|
||||
|
||||
/* Avoid defining irrelevant helpers that might interfere with other
|
||||
* preprocessor logic. */
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
#include <cstddef>
|
||||
#include <string_view>
|
||||
#include <utility>
|
||||
|
||||
#include <fmt/format.h>
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#include <cerrno>
|
||||
#include <cstdint>
|
||||
#include <cstring> /* memcmp(), memcpy(), memset() */
|
||||
#include <cstdlib> /* malloc(), free() */
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
#include <mutex>
|
||||
#include <shared_mutex>
|
||||
#include <thread>
|
||||
#include <utility>
|
||||
|
||||
#include <csignal>
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
#include <mutex>
|
||||
#include <string>
|
||||
#include <thread>
|
||||
#include <utility>
|
||||
|
||||
#include <fmt/core.h>
|
||||
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include <cstdlib> // getenv()
|
||||
#include <cstring> /* strerror() */
|
||||
#include <ctime> // nanosleep()
|
||||
#include <iterator> // for std::back_inserter
|
||||
#include <set>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#include <algorithm> // std::sort
|
||||
#include <cerrno>
|
||||
#include <cstring>
|
||||
#include <stack>
|
||||
#include <string>
|
||||
|
|
|
@ -7,11 +7,14 @@
|
|||
|
||||
#include <algorithm>
|
||||
#include <chrono>
|
||||
#include <cstddef> // for size_t
|
||||
#include <map>
|
||||
#include <memory>
|
||||
#include <optional>
|
||||
#include <set>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
#include <utility>
|
||||
|
||||
#include "timer.h"
|
||||
#include "watchdir.h"
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
#define LIBTRANSMISSION_WATCHDIR_MODULE
|
||||
|
||||
#include <utility>
|
||||
|
||||
#include "transmission.h"
|
||||
|
||||
#include "watchdir-base.h"
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
|
||||
#include <cerrno>
|
||||
#include <climits> /* NAME_MAX */
|
||||
|
||||
#include <iostream> // NOCOMMIT
|
||||
#include <memory>
|
||||
#include <utility>
|
||||
|
||||
#include <unistd.h> /* close() */
|
||||
|
||||
|
|
|
@ -4,8 +4,9 @@
|
|||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#include <cerrno> // for errno
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <unordered_set>
|
||||
#include <utility>
|
||||
|
||||
#include <fcntl.h> // for open()
|
||||
#include <unistd.h> // for close()
|
||||
|
|
|
@ -6,6 +6,8 @@
|
|||
#include <array>
|
||||
#include <cerrno>
|
||||
#include <cstddef> // for offsetof
|
||||
#include <memory>
|
||||
#include <utility>
|
||||
|
||||
#include <process.h> // for _beginthreadex()
|
||||
|
||||
|
|
|
@ -6,11 +6,13 @@
|
|||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <cctype>
|
||||
#include <cstdlib> // for strtoul()
|
||||
#include <cstddef>
|
||||
#include <limits>
|
||||
#include <optional>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
#include <utility>
|
||||
|
||||
#include <fmt/format.h>
|
||||
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
#include <mutex>
|
||||
#include <string>
|
||||
#include <thread>
|
||||
#include <utility>
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <windows.h>
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
#include <optional>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
#include <utility>
|
||||
|
||||
struct evbuffer;
|
||||
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
#include <set>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include <event2/buffer.h>
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
#include <cmath>
|
||||
#include <future>
|
||||
#include <optional>
|
||||
#include <utility>
|
||||
|
||||
#include <libtransmission/transmission.h>
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <ctime>
|
||||
#include <utility>
|
||||
|
||||
#include <QDateTime>
|
||||
#include <QDesktopServices>
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <set>
|
||||
#include <utility>
|
||||
|
||||
#include <QApplication>
|
||||
#include <QStyle>
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
#include <cstdint> // uint64_t
|
||||
#include <map>
|
||||
#include <unordered_map>
|
||||
#include <utility>
|
||||
|
||||
#include <QHBoxLayout>
|
||||
#include <QLabel>
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
#include <chrono>
|
||||
#include <future>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include <QDir>
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#include <algorithm>
|
||||
#include <utility>
|
||||
|
||||
#include <QFileInfo>
|
||||
#include <QPushButton>
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <cassert>
|
||||
#include <cstdlib>
|
||||
#include <string_view>
|
||||
#include <utility>
|
||||
|
||||
#include <QDateTime>
|
||||
#include <QDir>
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
// or any future license endorsed by Mnemosyne LLC.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#include <utility>
|
||||
|
||||
#include <QDir>
|
||||
|
||||
#include "RelocateDialog.h"
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#include <algorithm>
|
||||
#include <iterator>
|
||||
#include <set>
|
||||
|
||||
#include <QApplication>
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
// or any future license endorsed by Mnemosyne LLC.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#include <utility>
|
||||
|
||||
#include <QApplication>
|
||||
#include <QFont>
|
||||
#include <QFontMetrics>
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#include <algorithm>
|
||||
#include <utility>
|
||||
|
||||
#include <QApplication>
|
||||
#include <QBrush>
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <iterator> // for std::back_inserter
|
||||
#include <set>
|
||||
#include <string_view>
|
||||
|
||||
#include <libtransmission/transmission.h>
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <optional>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include <QAbstractListModel>
|
||||
|
|
|
@ -3,10 +3,6 @@
|
|||
// or any future license endorsed by Mnemosyne LLC.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#include <set>
|
||||
#include <unordered_map>
|
||||
#include <unordered_set>
|
||||
|
||||
#include <QAbstractItemView>
|
||||
#include <QApplication>
|
||||
#include <QColor>
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <cstddef> // size_t
|
||||
#include <utility>
|
||||
|
||||
#include <QHash>
|
||||
#include <QPointer>
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#include <algorithm>
|
||||
#include <cstring>
|
||||
#include <vector>
|
||||
|
||||
#include "transmission.h"
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <cassert>
|
||||
#include <cstring>
|
||||
#include <string_view>
|
||||
|
||||
#include <event2/util.h>
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
#define LIBTRANSMISSION_VARIANT_MODULE
|
||||
|
||||
#include <clocale> // setlocale()
|
||||
#include <cstring> // strlen()
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <cstdlib> // mktemp()
|
||||
#include <cstring> // strlen()
|
||||
#include <numeric>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
// or any future license endorsed by Mnemosyne LLC.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#include <cstring>
|
||||
|
||||
#include "transmission.h"
|
||||
#include "peer-msgs.h"
|
||||
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
#include <array>
|
||||
#include <cerrno>
|
||||
#include <cstdio> // fopen()
|
||||
#include <cstring> // strcmp()
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
// or any future license endorsed by Mnemosyne LLC.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#include <cstring>
|
||||
#include <string_view>
|
||||
|
||||
#include "transmission.h"
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue