diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-06-02 19:17:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-06-02 20:47:05 +0300 |
commit | 37343e2b49466bb6cab33f8d1ca362a25f77a660 (patch) | |
tree | 67250016aa26f6877629f9f2ec4546b1edd4b07c /src/net/uploadcharinfo.h | |
parent | cca552c123e6522541b15e7cf4f51f3ec0fcf564 (diff) | |
download | mv-37343e2b49466bb6cab33f8d1ca362a25f77a660.tar.gz mv-37343e2b49466bb6cab33f8d1ca362a25f77a660.tar.bz2 mv-37343e2b49466bb6cab33f8d1ca362a25f77a660.tar.xz mv-37343e2b49466bb6cab33f8d1ca362a25f77a660.zip |
move uploadcharinfo into separate file.
Diffstat (limited to 'src/net/uploadcharinfo.h')
-rw-r--r-- | src/net/uploadcharinfo.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/src/net/uploadcharinfo.h b/src/net/uploadcharinfo.h new file mode 100644 index 000000000..c8f15050c --- /dev/null +++ b/src/net/uploadcharinfo.h @@ -0,0 +1,41 @@ +/* + * The ManaPlus Client + * Copyright (C) 2014 The ManaPlus Developers + * + * This file is part of The ManaPlus Client. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#ifndef NET_UPLOADCHRINFO_H +#define NET_UPLOADCHRINFO_H + +struct UploadChatInfo final +{ + UploadChatInfo() : + tab(nullptr), + upload(nullptr), + text(), + addStr() + { } + + A_DELETE_COPY(UploadChatInfo) + + ChatTab *tab; + Net::Download *upload; + std::string text; + std::string addStr; +}; + +#endif // NET_UPLOADCHRINFO_H |