Skip to content

Commit

Permalink
refactor: consolidate wallet_api into libwalletqt [1/?]
Browse files Browse the repository at this point in the history
  • Loading branch information
tobtoht committed Nov 17, 2023
1 parent 4e02392 commit 31ced6d
Show file tree
Hide file tree
Showing 22 changed files with 37 additions and 1,865 deletions.
2 changes: 0 additions & 2 deletions src/common/i18n.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@

#pragma once

#define QT_TRANSLATE_NOOP(context,str) i18n_translate(str,context)

std::string i18n_get_language();
int i18n_set_language(const char *directory, const char *base, std::string language = std::string());
const char *i18n_translate(const char *str, const std::string &context);
Expand Down
18 changes: 2 additions & 16 deletions src/wallet/api/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,37 +33,23 @@ set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
set(wallet_api_sources
wallet.cpp
wallet_manager.cpp
transaction_info.cpp
transaction_history.cpp
transaction_construction_info.cpp
pending_transaction_info.cpp
pending_transaction.cpp
utils.cpp
address_book.cpp
subaddress.cpp
subaddress_account.cpp
unsigned_transaction.cpp
coins.cpp
coins_info.cpp)
unsigned_transaction.cpp)

set(wallet_api_headers
wallet2_api.h)

set(wallet_api_private_headers
wallet.h
wallet_manager.h
transaction_info.h
transaction_history.h
transaction_construction_info.h
pending_transaction_info.h
pending_transaction.h
common_defines.h
address_book.h
subaddress.h
subaddress_account.h
unsigned_transaction.h
coins.h
coins_info.h)
unsigned_transaction.h)

monero_private_headers(wallet_api
${wallet_api_private_headers})
Expand Down
168 changes: 0 additions & 168 deletions src/wallet/api/address_book.cpp

This file was deleted.

68 changes: 0 additions & 68 deletions src/wallet/api/address_book.h

This file was deleted.

Loading

0 comments on commit 31ced6d

Please sign in to comment.