summaryrefslogtreecommitdiffstats
blob: 6b594aa2679fb593c08246d9e26e8cec641bd2df (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 Isode Limited.
 * All rights reserved.
 * 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;
}