summaryrefslogtreecommitdiff
path: root/src/net/download.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-01-26 21:45:57 +0300
committerAndrei Karas <akaras@inbox.ru>2014-01-26 22:01:51 +0300
commit5889bd94d241b8454268804861a67c79315a7731 (patch)
treeb37aaec28083110308fbbc5fa3a2c4bb07ce2ed7 /src/net/download.h
parentbae784c3718b2d28bef80ef57f23c47cc4342c64 (diff)
downloadManaVerse-5889bd94d241b8454268804861a67c79315a7731.tar.gz
ManaVerse-5889bd94d241b8454268804861a67c79315a7731.tar.bz2
ManaVerse-5889bd94d241b8454268804861a67c79315a7731.tar.xz
ManaVerse-5889bd94d241b8454268804861a67c79315a7731.zip
add chat command for uploading main config.xml
New chat command: /uploadconfig
Diffstat (limited to 'src/net/download.h')
-rw-r--r--src/net/download.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/net/download.h b/src/net/download.h
index f5b886053..bc06f1974 100644
--- a/src/net/download.h
+++ b/src/net/download.h
@@ -106,12 +106,15 @@ class Download final
static unsigned long adlerBuffer(char *buffer, int size);
+ static std::string getUploadResponse()
+ { return mUploadResponse; }
+
private:
static int downloadThread(void *ptr);
static int downloadProgress(void *clientp, double dltotal,
double dlnow, double ultotal,
double ulnow);
- static std::string mUploadRssponse;
+ static std::string mUploadResponse;
void *mPtr;
std::string mUrl;
struct