mirror of
https://github.com/feather-wallet/feather.git
synced 2024-12-22 19:49:28 +00:00
libwalletqt: forward declare wallet2
This commit is contained in:
parent
669074eff7
commit
46e0215953
10 changed files with 26 additions and 10 deletions
|
@ -3,6 +3,7 @@
|
|||
|
||||
#include "AddressBook.h"
|
||||
#include <QDebug>
|
||||
#include <wallet/wallet2.h>
|
||||
|
||||
AddressBook::AddressBook(Wallet *wallet, tools::wallet2 *wallet2, QObject *parent)
|
||||
: QObject(parent)
|
||||
|
|
|
@ -13,12 +13,15 @@
|
|||
|
||||
#include "rows/ContactRow.h"
|
||||
#include "Wallet.h"
|
||||
#include "wallet/wallet2.h"
|
||||
|
||||
namespace Monero {
|
||||
struct AddressBook;
|
||||
}
|
||||
|
||||
namespace tools{
|
||||
class wallet2;
|
||||
}
|
||||
|
||||
class AddressBook : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
#include "Coins.h"
|
||||
#include "rows/CoinsInfo.h"
|
||||
#include <wallet/wallet2.h>
|
||||
|
||||
Coins::Coins(Wallet *wallet, tools::wallet2 *wallet2, QObject *parent)
|
||||
: QObject(parent)
|
||||
|
|
|
@ -10,15 +10,17 @@
|
|||
#include <QList>
|
||||
#include <QReadWriteLock>
|
||||
#include <QDateTime>
|
||||
#include <wallet/api/wallet2_api.h>
|
||||
|
||||
#include "Wallet.h"
|
||||
#include "wallet/wallet2.h"
|
||||
|
||||
namespace Monero {
|
||||
struct TransactionHistory;
|
||||
}
|
||||
|
||||
namespace tools {
|
||||
class wallet2;
|
||||
}
|
||||
|
||||
class CoinsInfo;
|
||||
|
||||
class Coins : public QObject
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
#include "Subaddress.h"
|
||||
#include <QDebug>
|
||||
|
||||
#include <wallet/wallet2.h>
|
||||
|
||||
Subaddress::Subaddress(Wallet *wallet, tools::wallet2 *wallet2, QObject *parent)
|
||||
: QObject(parent)
|
||||
, m_wallet(wallet)
|
||||
|
|
|
@ -12,11 +12,13 @@
|
|||
#include <QList>
|
||||
#include <QDateTime>
|
||||
|
||||
#include <wallet/wallet2.h>
|
||||
|
||||
#include "Wallet.h"
|
||||
#include "rows/SubaddressRow.h"
|
||||
|
||||
namespace tools {
|
||||
class wallet2;
|
||||
}
|
||||
|
||||
class Subaddress : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
||||
|
||||
#include "SubaddressAccount.h"
|
||||
#include <QDebug>
|
||||
#include <wallet/wallet2.h>
|
||||
|
||||
SubaddressAccount::SubaddressAccount(Wallet *wallet, tools::wallet2 *wallet2, QObject *parent)
|
||||
: QObject(parent)
|
||||
|
|
|
@ -6,17 +6,18 @@
|
|||
|
||||
#include <functional>
|
||||
|
||||
#include <wallet/api/wallet2_api.h>
|
||||
#include <QObject>
|
||||
#include <QReadWriteLock>
|
||||
#include <QList>
|
||||
#include <QDateTime>
|
||||
|
||||
#include <wallet/wallet2.h>
|
||||
|
||||
#include "Wallet.h"
|
||||
#include "rows/AccountRow.h"
|
||||
|
||||
namespace tools {
|
||||
class wallet2;
|
||||
}
|
||||
|
||||
class SubaddressAccount : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
#include "WalletManager.h"
|
||||
#include "Transfer.h"
|
||||
#include "Ring.h"
|
||||
#include "wallet/wallet2.h"
|
||||
|
||||
bool TransactionHistory::transaction(int index, std::function<void (TransactionRow &)> callback)
|
||||
{
|
||||
|
|
|
@ -13,7 +13,10 @@
|
|||
|
||||
#include "rows/TransactionRow.h"
|
||||
#include "Wallet.h"
|
||||
#include "wallet/wallet2.h"
|
||||
|
||||
namespace tools {
|
||||
class wallet2;
|
||||
}
|
||||
|
||||
namespace Monero {
|
||||
struct TransactionHistory;
|
||||
|
|
Loading…
Reference in a new issue