Torc  0.1
Classes | Macros | Variables
torcnetwork.h File Reference
#include <QObject>
#include <QtNetwork>
#include <QAtomicInt>
#include "torcsetting.h"
#include "torctimer.h"
#include "torcnetworkrequest.h"
Include dependency graph for torcnetwork.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TorcNetwork
 Subclass of QNetworkAccessManager for sending network requests and monitoring the network state. More...
 

Macros

#define DEFAULT_MAC_ADDRESS   QString("00:00:00:00:00:00")
 
#define DEFAULT_STREAMED_BUFFER_SIZE   (1024 * 1024 * 10)
 
#define DEFAULT_STREAMED_READ_SIZE   (32768)
 
#define DEFAULT_MAX_REDIRECTIONS   3
 
#define DEFAULT_USER_AGENT   QByteArray("Wget/1.12 (linux-gnu))")
 

Variables

TorcNetworkgNetwork
 
QMutex * gNetworkLock
 

Macro Definition Documentation

#define DEFAULT_MAC_ADDRESS   QString("00:00:00:00:00:00")

Definition at line 14 of file torcnetwork.h.

#define DEFAULT_MAX_REDIRECTIONS   3

Definition at line 17 of file torcnetwork.h.

#define DEFAULT_STREAMED_BUFFER_SIZE   (1024 * 1024 * 10)

Definition at line 15 of file torcnetwork.h.

#define DEFAULT_STREAMED_READ_SIZE   (32768)

Definition at line 16 of file torcnetwork.h.

#define DEFAULT_USER_AGENT   QByteArray("Wget/1.12 (linux-gnu))")

Definition at line 18 of file torcnetwork.h.

Variable Documentation

TorcNetwork* gNetwork

Definition at line 31 of file torcnetwork.cpp.

QMutex* gNetworkLock

Definition at line 32 of file torcnetwork.cpp.