mirror of
https://github.com/transmission/transmission.git
synced 2026-02-14 23:19:34 +00:00
refactor: move to libtrbase: error-types.h
This commit is contained in:
@@ -4,6 +4,7 @@ target_sources(trbase
|
||||
PRIVATE
|
||||
env.cc
|
||||
env.h
|
||||
error-types.h
|
||||
error.cc
|
||||
error.h
|
||||
file-posix.cc
|
||||
|
||||
@@ -12,12 +12,12 @@
|
||||
|
||||
#include <fmt/format.h>
|
||||
|
||||
#include "lib/base/error-types.h"
|
||||
#include "lib/base/error.h"
|
||||
#include "lib/base/file.h"
|
||||
#include "lib/base/file-utils.h"
|
||||
#include "lib/base/file.h"
|
||||
#include "lib/base/tr-strbuf.h"
|
||||
|
||||
#include "libtransmission/error-types.h"
|
||||
#include "libtransmission/log.h"
|
||||
#include "libtransmission/utils.h"
|
||||
|
||||
|
||||
@@ -53,7 +53,6 @@ target_sources(${TR_NAME}
|
||||
crypto-utils-wolfssl.cc
|
||||
crypto-utils.cc
|
||||
crypto-utils.h
|
||||
error-types.h
|
||||
file-piece-map.cc
|
||||
file-piece-map.h
|
||||
handshake.cc
|
||||
@@ -267,7 +266,6 @@ if(INSTALL_LIB)
|
||||
DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||
install(
|
||||
FILES
|
||||
error-types.h
|
||||
../lib/base/file.h
|
||||
log.h
|
||||
makemeta.h
|
||||
|
||||
@@ -15,11 +15,11 @@
|
||||
|
||||
#include <fmt/format.h>
|
||||
|
||||
#include "lib/base/error-types.h"
|
||||
#include "lib/base/error.h"
|
||||
#include "lib/base/tr-strbuf.h" // for tr_urlbuf
|
||||
|
||||
#include "libtransmission/crypto-utils.h"
|
||||
#include "libtransmission/error-types.h"
|
||||
#include "libtransmission/magnet-metainfo.h"
|
||||
#include "lib/base/string-utils.h"
|
||||
#include "libtransmission/types.h" // for tr_sha1_digest_t
|
||||
|
||||
@@ -11,12 +11,12 @@
|
||||
|
||||
#include <fmt/format.h>
|
||||
|
||||
#include "lib/base/error-types.h"
|
||||
#include "lib/base/error.h"
|
||||
#include "lib/base/file.h"
|
||||
#include "lib/base/tr-assert.h"
|
||||
#include "lib/base/tr-strbuf.h"
|
||||
|
||||
#include "libtransmission/error-types.h"
|
||||
#include "libtransmission/log.h"
|
||||
#include "libtransmission/open-files.h"
|
||||
#include "libtransmission/types.h"
|
||||
|
||||
@@ -13,12 +13,12 @@
|
||||
|
||||
#include <fmt/format.h>
|
||||
|
||||
#include "lib/base/error-types.h"
|
||||
#include "lib/base/error.h"
|
||||
#include "lib/base/file.h"
|
||||
#include "lib/base/tr-strbuf.h" // for tr_pathbuf
|
||||
|
||||
#include "libtransmission/crypto-utils.h" // for tr_rand_obj()
|
||||
#include "libtransmission/error-types.h"
|
||||
#include "libtransmission/log.h"
|
||||
#include "libtransmission/platform.h"
|
||||
#include "libtransmission/session-id.h"
|
||||
|
||||
@@ -9,12 +9,12 @@
|
||||
|
||||
#include <fmt/format.h>
|
||||
|
||||
#include "lib/base/error-types.h"
|
||||
#include "lib/base/error.h"
|
||||
#include "lib/base/file.h"
|
||||
#include "lib/base/tr-strbuf.h"
|
||||
|
||||
#define LIBTRANSMISSION_WATCHDIR_MODULE
|
||||
#include "libtransmission/error-types.h"
|
||||
#include "libtransmission/log.h"
|
||||
#include "libtransmission/utils.h" // for _()
|
||||
#include "libtransmission/watchdir-base.h"
|
||||
|
||||
Reference in New Issue
Block a user