2021-01-25 16:38:04 +00:00
|
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
// Copyright (c) 2020-2021, The Monero Project.
|
|
|
|
|
|
|
|
#ifndef FEATHER_WALLETCACHEDEBUGDIALOG_H
|
|
|
|
#define FEATHER_WALLETCACHEDEBUGDIALOG_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
2021-06-27 14:33:18 +00:00
|
|
|
|
2021-01-25 16:38:04 +00:00
|
|
|
#include "appcontext.h"
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class WalletCacheDebugDialog;
|
|
|
|
}
|
|
|
|
|
|
|
|
class WalletCacheDebugDialog : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2021-05-18 15:59:18 +00:00
|
|
|
explicit WalletCacheDebugDialog(QSharedPointer<AppContext> ctx, QWidget *parent = nullptr);
|
2021-01-25 16:38:04 +00:00
|
|
|
~WalletCacheDebugDialog() override;
|
|
|
|
|
|
|
|
private:
|
|
|
|
void setOutput(const QString &output);
|
2021-06-27 14:43:14 +00:00
|
|
|
|
2021-06-27 12:13:05 +00:00
|
|
|
QScopedPointer<Ui::WalletCacheDebugDialog> ui;
|
2021-05-18 15:59:18 +00:00
|
|
|
QSharedPointer<AppContext> m_ctx;
|
2021-01-25 16:38:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif //FEATHER_WALLETCACHEDEBUGDIALOG_H
|