summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-06-02 19:17:44 +0300
committerAndrei Karas <akaras@inbox.ru>2014-06-02 20:47:05 +0300
commit37343e2b49466bb6cab33f8d1ca362a25f77a660 (patch)
tree67250016aa26f6877629f9f2ec4546b1edd4b07c /src/commands.cpp
parentcca552c123e6522541b15e7cf4f51f3ec0fcf564 (diff)
downloadmanaplus-37343e2b49466bb6cab33f8d1ca362a25f77a660.tar.gz
manaplus-37343e2b49466bb6cab33f8d1ca362a25f77a660.tar.bz2
manaplus-37343e2b49466bb6cab33f8d1ca362a25f77a660.tar.xz
manaplus-37343e2b49466bb6cab33f8d1ca362a25f77a660.zip
move uploadcharinfo into separate file.
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp18
1 files changed, 1 insertions, 17 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index 0db774ada..6be14ee16 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -64,6 +64,7 @@
#include "net/gamehandler.h"
#include "net/guildhandler.h"
#include "net/net.h"
+#include "net/uploadcharinfo.h"
#include "net/partyhandler.h"
#include "net/pethandler.h"
#include "net/tradehandler.h"
@@ -1286,23 +1287,6 @@ impHandler1(gm)
Net::getChatHandler()->talk("@wgm " + args, GENERAL_CHANNEL);
}
-struct UploadChatInfo
-{
- UploadChatInfo() :
- tab(nullptr),
- upload(nullptr),
- text(),
- addStr()
- { }
-
- A_DELETE_COPY(UploadChatInfo)
-
- ChatTab *tab;
- Net::Download *upload;
- std::string text;
- std::string addStr;
-};
-
static int uploadUpdate(void *ptr,
DownloadStatus::Type status,
size_t total A_UNUSED,