From 37343e2b49466bb6cab33f8d1ca362a25f77a660 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 2 Jun 2014 19:17:44 +0300 Subject: move uploadcharinfo into separate file. --- src/commands.cpp | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to 'src/commands.cpp') 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, -- cgit v1.2.3-70-g09d2