mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-30 19:40:18 -07:00
Forward declare in a few places
This commit is contained in:
parent
4d92c7e094
commit
4370a7eb12
35 changed files with 82 additions and 43 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue