aboutsummaryrefslogtreecommitdiff
path: root/src/qt/paymentserver.h
diff options
context:
space:
mode:
authorBrandon Dahler <brandon.dahler@gmail.com>2013-04-13 00:13:08 -0500
committerBrandon Dahler <brandon.dahler@gmail.com>2013-11-10 09:36:28 -0600
commit51ed9ec971614aebdbfbd9527aba365dd0afd437 (patch)
treed2f910390e55aef857023812fbdaefdd66cd99ff /src/qt/paymentserver.h
parent7c4c207be8420d394a5abc4368d1bb69ad4f8067 (diff)
Cleanup code using forward declarations.
Use misc methods of avoiding unnecesary header includes. Replace int typedefs with int##_t from stdint.h. Replace PRI64[xdu] with PRI[xdu]64 from inttypes.h. Normalize QT_VERSION ifs where possible. Resolve some indirect dependencies as direct ones. Remove extern declarations from .cpp files.
Diffstat (limited to 'src/qt/paymentserver.h')
-rw-r--r--src/qt/paymentserver.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/qt/paymentserver.h b/src/qt/paymentserver.h
index 76cdb819d7..65bf034354 100644
--- a/src/qt/paymentserver.h
+++ b/src/qt/paymentserver.h
@@ -4,8 +4,6 @@
#ifndef PAYMENTSERVER_H
#define PAYMENTSERVER_H
-
-//
// This class handles payment requests from clicking on
// bitcoin: URIs
//
@@ -32,13 +30,13 @@
// and, if a server is running in another process,
// sends them to the server.
//
-#include <QObject>
-#include <QString>
#include "paymentrequestplus.h"
#include "walletmodel.h"
-class CWallet;
+#include <QObject>
+#include <QString>
+
class OptionsModel;
QT_BEGIN_NAMESPACE
@@ -51,6 +49,8 @@ class QSslError;
class QUrl;
QT_END_NAMESPACE
+class CWallet;
+
class PaymentServer : public QObject
{
Q_OBJECT