summaryrefslogtreecommitdiffstats
blob: 912a78a62273391ccf10045cd26a7e8c3e199a37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * Copyright (c) 2013-2014 Remko Tronçon
 * Licensed under the GNU General Public License.
 * See the COPYING file for more information.
 */

#include <Swiften/FileTransfer/FileTransfer.h>

using namespace Swift;

FileTransfer::FileTransfer() : fileSizeInBytes(0) {
}

FileTransfer::~FileTransfer() {
}

void FileTransfer::setFileInfo(const std::string& name, boost::uintmax_t size) {
	filename = name;
	fileSizeInBytes = size;
}