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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user