Changeset View
Changeset View
Standalone View
Standalone View
src/qt/paymentserver.h
Show All 29 Lines | |||||
#if defined(HAVE_CONFIG_H) | #if defined(HAVE_CONFIG_H) | ||||
#include <config/bitcoin-config.h> | #include <config/bitcoin-config.h> | ||||
#endif | #endif | ||||
#ifdef ENABLE_BIP70 | #ifdef ENABLE_BIP70 | ||||
#include <qt/paymentrequestplus.h> | #include <qt/paymentrequestplus.h> | ||||
#endif | #endif | ||||
#include <interfaces/wallet.h> | |||||
#include <qt/sendcoinsrecipient.h> | #include <qt/sendcoinsrecipient.h> | ||||
#include <qt/walletmodel.h> | |||||
#include <QObject> | #include <QObject> | ||||
#include <QString> | #include <QString> | ||||
class OptionsModel; | class OptionsModel; | ||||
namespace interfaces { | |||||
class Node; | |||||
} // namespace interfaces | |||||
QT_BEGIN_NAMESPACE | QT_BEGIN_NAMESPACE | ||||
class QApplication; | class QApplication; | ||||
class QByteArray; | class QByteArray; | ||||
class QLocalServer; | class QLocalServer; | ||||
class QNetworkAccessManager; | class QNetworkAccessManager; | ||||
class QNetworkReply; | class QNetworkReply; | ||||
class QSslError; | class QSslError; | ||||
class QUrl; | class QUrl; | ||||
▲ Show 20 Lines • Show All 64 Lines • ▼ Show 20 Lines | public Q_SLOTS: | ||||
// requests to the user | // requests to the user | ||||
void uiReady(); | void uiReady(); | ||||
// Handle an incoming URI, URI with local file scheme or file | // Handle an incoming URI, URI with local file scheme or file | ||||
void handleURIOrFile(const QString &s); | void handleURIOrFile(const QString &s); | ||||
#ifdef ENABLE_BIP70 | #ifdef ENABLE_BIP70 | ||||
// Submit Payment message to a merchant, get back PaymentACK: | // Submit Payment message to a merchant, get back PaymentACK: | ||||
void fetchPaymentACK(WalletModel *walletModel, | void fetchPaymentACK(interfaces::Wallet &wallet, | ||||
const SendCoinsRecipient &recipient, | const SendCoinsRecipient &recipient, | ||||
QByteArray transaction); | QByteArray transaction); | ||||
#endif | #endif | ||||
private Q_SLOTS: | private Q_SLOTS: | ||||
void handleURIConnection(); | void handleURIConnection(); | ||||
#ifdef ENABLE_BIP70 | #ifdef ENABLE_BIP70 | ||||
void netRequestFinished(QNetworkReply *); | void netRequestFinished(QNetworkReply *); | ||||
Show All 33 Lines |