ManaPlus
Namespaces | Enumerations | Variables
download.cpp File Reference

(986a3bf)

#include "net/download.h"
#include "configuration.h"
#include "logger.h"
#include "settings.h"
#include "fs/files.h"
#include "utils/cast.h"
#include "utils/sdlhelper.h"
#include <zlib.h>
#include <fstream>
#include <sstream>
#include "debug.h"

Go to the source code of this file.

Namespaces

 Net
 

Enumerations

enum  { OPTIONS_NONE = 0 , OPTIONS_MEMORY = 1 }
 

Variables

char * DOWNLOAD_ERROR_MESSAGE_THREAD = "Could not create download thread!"
 
volatile bool isTerminate
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
OPTIONS_NONE 
OPTIONS_MEMORY 

Definition at line 46 of file download.cpp.

47 {
48  OPTIONS_NONE = 0,
49  OPTIONS_MEMORY = 1
50 };
@ OPTIONS_NONE
Definition: download.cpp:48
@ OPTIONS_MEMORY
Definition: download.cpp:49

Variable Documentation

◆ DOWNLOAD_ERROR_MESSAGE_THREAD

char* DOWNLOAD_ERROR_MESSAGE_THREAD = "Could not create download thread!"

Definition at line 41 of file download.cpp.

Referenced by Net::Download::start().

◆ isTerminate

volatile bool isTerminate
extern

Definition at line 209 of file client.cpp.

Referenced by Net::Download::downloadThread().