mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 23:47:23 -06:00
Forward declare in a few places
This commit is contained in:
@@ -34,13 +34,12 @@
|
||||
#include <QElapsedTimer>
|
||||
#include <QObject>
|
||||
|
||||
#include "types.h"
|
||||
|
||||
class QTcpSocket;
|
||||
|
||||
namespace Http
|
||||
{
|
||||
class IRequestHandler;
|
||||
struct Response;
|
||||
|
||||
class Connection : public QObject
|
||||
{
|
||||
|
||||
@@ -29,10 +29,12 @@
|
||||
#ifndef HTTP_IREQUESTHANDLER_H
|
||||
#define HTTP_IREQUESTHANDLER_H
|
||||
|
||||
#include "types.h"
|
||||
|
||||
namespace Http
|
||||
{
|
||||
struct Environment;
|
||||
struct Request;
|
||||
struct Response;
|
||||
|
||||
class IRequestHandler
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
|
||||
#include <QDateTime>
|
||||
|
||||
#include "base/http/types.h"
|
||||
#include "base/utils/gzip.h"
|
||||
|
||||
QByteArray Http::toByteArray(Response response)
|
||||
|
||||
@@ -31,10 +31,13 @@
|
||||
#ifndef HTTP_RESPONSEGENERATOR_H
|
||||
#define HTTP_RESPONSEGENERATOR_H
|
||||
|
||||
#include "types.h"
|
||||
class QByteArray;
|
||||
class QString;
|
||||
|
||||
namespace Http
|
||||
{
|
||||
struct Response;
|
||||
|
||||
QByteArray toByteArray(Response response);
|
||||
QString httpDate();
|
||||
void compressContent(Response &response);
|
||||
|
||||
Reference in New Issue
Block a user