Open source remastering of the Freespace 2 engine
InetGetFile Class Reference

#include <inetgetfile.h>

Public Member Functions

 InetGetFile (char *URL, char *localfile)
 ~InetGetFile ()
bool IsFileReceived ()
bool IsFileError ()
bool IsConnecting ()
bool IsReceiving ()
int GetErrorCode ()
int GetBytesIn ()
int GetTotalBytes ()
void AbortGet ()

Protected Attributes

bool m_bUseHTTP
int m_ErrorCode
int m_State
int m_HardError

Detailed Description

Definition at line 29 of file inetgetfile.h.

Constructor & Destructor Documentation

InetGetFile::InetGetFile ( char *  URL,
char *  localfile 

Definition at line 45 of file inetgetfile.cpp.

InetGetFile::~InetGetFile ( )

Definition at line 108 of file inetgetfile.cpp.

Member Function Documentation

void InetGetFile::AbortGet ( )

Definition at line 34 of file inetgetfile.cpp.

int InetGetFile::GetBytesIn ( )

Definition at line 276 of file inetgetfile.cpp.

int InetGetFile::GetErrorCode ( )

Definition at line 219 of file inetgetfile.cpp.

int InetGetFile::GetTotalBytes ( )

Definition at line 263 of file inetgetfile.cpp.

bool InetGetFile::IsConnecting ( )

Definition at line 117 of file inetgetfile.cpp.

bool InetGetFile::IsFileError ( )

Definition at line 180 of file inetgetfile.cpp.

bool InetGetFile::IsFileReceived ( )

Definition at line 159 of file inetgetfile.cpp.

bool InetGetFile::IsReceiving ( )

Definition at line 138 of file inetgetfile.cpp.

Member Data Documentation

CFtpGet* InetGetFile::ftp

Definition at line 44 of file inetgetfile.h.

ChttpGet* InetGetFile::http

Definition at line 45 of file inetgetfile.h.

bool InetGetFile::m_bUseHTTP

Definition at line 46 of file inetgetfile.h.

int InetGetFile::m_ErrorCode

Definition at line 47 of file inetgetfile.h.

int InetGetFile::m_HardError

Definition at line 49 of file inetgetfile.h.

int InetGetFile::m_State

Definition at line 48 of file inetgetfile.h.

The documentation for this class was generated from the following files: