mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-17 07:11:29 +02:00
libwalletqt: forward declare wallet2
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user