mirror of
https://github.com/feather-wallet/feather.git
synced 2024-12-23 03:59:29 +00:00
fb36bf54d3
Silences compile warning
35 lines
665 B
C++
35 lines
665 B
C++
// SPDX-License-Identifier: BSD-3-Clause
|
|
// SPDX-FileCopyrightText: 2020-2022 The Monero Project
|
|
|
|
#ifndef FEATHER_CLI_H
|
|
#define FEATHER_CLI_H
|
|
|
|
#include <QtCore>
|
|
#include "appcontext.h"
|
|
|
|
class CLI : public QObject
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
enum Mode {
|
|
Invalid,
|
|
ExportContacts,
|
|
ExportTxHistory,
|
|
BruteforcePassword
|
|
};
|
|
|
|
explicit CLI(Mode mode, QCommandLineParser *cmdargs, QObject *parent = nullptr);
|
|
|
|
private slots:
|
|
void onWalletOpened(Wallet *wallet);
|
|
|
|
private:
|
|
void finished(const QString &message);
|
|
|
|
Mode m_mode;
|
|
QCommandLineParser *m_cmdargs;
|
|
WalletManager *m_walletManager;
|
|
};
|
|
|
|
#endif //FEATHER_CLI_H
|