mirror of
https://github.com/feather-wallet/feather.git
synced 2024-12-31 16:09:56 +00:00
refactor: move third party integrations to plugins folder
This commit is contained in:
parent
fbc3b89285
commit
8fd583a649
44 changed files with 30 additions and 30 deletions
|
@ -72,6 +72,8 @@ file(GLOB SOURCE_FILES
|
|||
"monero_seed/*.cpp"
|
||||
"monero_seed/*.c"
|
||||
"monero_seed/*.hpp"
|
||||
"plugins/*/*.cpp"
|
||||
"plugins/*/*.h"
|
||||
)
|
||||
|
||||
if (WITH_SCANNER AND NOT Qt6_FOUND)
|
||||
|
|
|
@ -32,8 +32,8 @@
|
|||
#include "utils/daemonrpc.h"
|
||||
#include "utils/EventFilter.h"
|
||||
#include "utils/Updater.h"
|
||||
#include "widgets/CCSWidget.h"
|
||||
#include "widgets/RedditWidget.h"
|
||||
#include "plugins/ccs/CCSWidget.h"
|
||||
#include "plugins/reddit/RedditWidget.h"
|
||||
#include "widgets/TickerWidget.h"
|
||||
#include "widgets/WalletUnlockWidget.h"
|
||||
#include "wizard/WalletWizard.h"
|
||||
|
@ -47,11 +47,11 @@
|
|||
#include "WindowManager.h"
|
||||
|
||||
#ifdef HAS_LOCALMONERO
|
||||
#include "widgets/LocalMoneroWidget.h"
|
||||
#include "plugins/localmonero/LocalMoneroWidget.h"
|
||||
#endif
|
||||
|
||||
#ifdef HAS_XMRIG
|
||||
#include "widgets/XMRigWidget.h"
|
||||
#include "plugins/xmrig/XMRigWidget.h"
|
||||
#endif
|
||||
|
||||
namespace Ui {
|
||||
|
|
|
@ -960,25 +960,25 @@
|
|||
<customwidget>
|
||||
<class>CCSWidget</class>
|
||||
<extends>QWidget</extends>
|
||||
<header>widgets/CCSWidget.h</header>
|
||||
<header>plugins/ccs/CCSWidget.h</header>
|
||||
<container>1</container>
|
||||
</customwidget>
|
||||
<customwidget>
|
||||
<class>RedditWidget</class>
|
||||
<extends>QWidget</extends>
|
||||
<header>widgets/RedditWidget.h</header>
|
||||
<header>plugins/reddit/RedditWidget.h</header>
|
||||
<container>1</container>
|
||||
</customwidget>
|
||||
<customwidget>
|
||||
<class>RevuoWidget</class>
|
||||
<extends>QWidget</extends>
|
||||
<header>widgets/RevuoWidget.h</header>
|
||||
<header>plugins/revuo/RevuoWidget.h</header>
|
||||
<container>1</container>
|
||||
</customwidget>
|
||||
<customwidget>
|
||||
<class>BountiesWidget</class>
|
||||
<extends>QWidget</extends>
|
||||
<header>widgets/BountiesWidget.h</header>
|
||||
<header>plugins/bounties/BountiesWidget.h</header>
|
||||
<container>1</container>
|
||||
</customwidget>
|
||||
</customwidgets>
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
#include <QWidget>
|
||||
|
||||
#include "libwalletqt/Wallet.h"
|
||||
#include "widgets/CCSWidget.h"
|
||||
|
||||
namespace Ui {
|
||||
class SendWidget;
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#include <QAbstractTableModel>
|
||||
#include <QSharedPointer>
|
||||
|
||||
#include "widgets/Bounty.h"
|
||||
#include "Bounty.h"
|
||||
|
||||
class BountiesModel : public QAbstractTableModel
|
||||
{
|
|
@ -8,7 +8,7 @@
|
|||
#include <QStandardItemModel>
|
||||
#include <QTableWidget>
|
||||
|
||||
#include "model/BountiesModel.h"
|
||||
#include "BountiesModel.h"
|
||||
#include "utils/Utils.h"
|
||||
#include "utils/config.h"
|
||||
|
|
@ -8,7 +8,7 @@
|
|||
#include <QMenu>
|
||||
#include <QWidget>
|
||||
|
||||
#include "model/BountiesModel.h"
|
||||
#include "BountiesModel.h"
|
||||
|
||||
namespace Ui {
|
||||
class BountiesWidget;
|
|
@ -7,7 +7,7 @@
|
|||
#include <QAbstractTableModel>
|
||||
#include <QSharedPointer>
|
||||
|
||||
#include "widgets/CCSEntry.h"
|
||||
#include "CCSEntry.h"
|
||||
|
||||
class CCSModel : public QAbstractTableModel
|
||||
{
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
#include <QStyledItemDelegate>
|
||||
|
||||
#include "model/CCSModel.h"
|
||||
#include "CCSModel.h"
|
||||
|
||||
class CCSProgressDelegate : public QStyledItemDelegate
|
||||
{
|
|
@ -10,8 +10,8 @@
|
|||
#include <QProgressBar>
|
||||
#include <QWidget>
|
||||
|
||||
#include "model/CCSModel.h"
|
||||
#include "widgets/CCSEntry.h"
|
||||
#include "CCSModel.h"
|
||||
#include "CCSEntry.h"
|
||||
|
||||
namespace Ui {
|
||||
class CSSWidget;
|
|
@ -8,7 +8,7 @@
|
|||
#include <QLabel>
|
||||
|
||||
#include "components.h"
|
||||
#include "model/LocalMoneroModel.h"
|
||||
#include "LocalMoneroModel.h"
|
||||
|
||||
namespace Ui {
|
||||
class LocalMoneroInfoDialog;
|
|
@ -7,10 +7,9 @@
|
|||
#include <QMessageBox>
|
||||
#include <QMenu>
|
||||
|
||||
#include "dialog/LocalMoneroInfoDialog.h"
|
||||
#include "LocalMoneroInfoDialog.h"
|
||||
#include "utils/ColorScheme.h"
|
||||
#include "utils/Icons.h"
|
||||
#include "utils/NetworkManager.h"
|
||||
#include "utils/WebsocketNotifier.h"
|
||||
|
||||
LocalMoneroWidget::LocalMoneroWidget(QWidget *parent, Wallet *wallet)
|
|
@ -6,8 +6,8 @@
|
|||
|
||||
#include <QWidget>
|
||||
|
||||
#include "api/LocalMoneroApi.h"
|
||||
#include "model/LocalMoneroModel.h"
|
||||
#include "LocalMoneroApi.h"
|
||||
#include "LocalMoneroModel.h"
|
||||
#include "libwalletqt/Wallet.h"
|
||||
|
||||
namespace Ui {
|
|
@ -7,7 +7,7 @@
|
|||
#include <QAbstractTableModel>
|
||||
#include <QSharedPointer>
|
||||
|
||||
#include "widgets/RedditPost.h"
|
||||
#include "RedditPost.h"
|
||||
|
||||
class RedditModel : public QAbstractTableModel
|
||||
{
|
|
@ -8,7 +8,7 @@
|
|||
#include <QStandardItemModel>
|
||||
#include <QTableWidget>
|
||||
|
||||
#include "model/RedditModel.h"
|
||||
#include "RedditModel.h"
|
||||
#include "utils/Utils.h"
|
||||
#include "utils/config.h"
|
||||
|
|
@ -8,7 +8,7 @@
|
|||
#include <QMenu>
|
||||
#include <QWidget>
|
||||
|
||||
#include "model/RedditModel.h"
|
||||
#include "RedditModel.h"
|
||||
|
||||
namespace Ui {
|
||||
class RedditWidget;
|
|
@ -9,7 +9,7 @@
|
|||
#include <QItemSelection>
|
||||
#include <QStandardItemModel>
|
||||
|
||||
#include "utils/xmrig.h"
|
||||
#include "xmrig.h"
|
||||
#include "utils/config.h"
|
||||
#include "libwalletqt/Wallet.h"
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
#include "utils/config.h"
|
||||
#include "utils/Utils.h"
|
||||
#include "utils/xmrig.h"
|
||||
#include "xmrig.h"
|
||||
#include "utils/TorManager.h"
|
||||
|
||||
XmRig::XmRig(const QString &configDir, QObject *parent)
|
|
@ -11,10 +11,10 @@
|
|||
#include "networktype.h"
|
||||
#include "nodes.h"
|
||||
#include "prices.h"
|
||||
#include "widgets/Bounty.h"
|
||||
#include "widgets/RedditPost.h"
|
||||
#include "widgets/CCSEntry.h"
|
||||
#include "widgets/RevuoItem.h"
|
||||
#include "plugins/bounties/Bounty.h"
|
||||
#include "plugins/reddit/RedditPost.h"
|
||||
#include "plugins/ccs/CCSEntry.h"
|
||||
#include "plugins/revuo/RevuoItem.h"
|
||||
#include "TxFiatHistory.h"
|
||||
|
||||
class WebsocketNotifier : public QObject {
|
||||
|
|
Loading…
Reference in a new issue