summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/FileTransfer/FileTransfer.cpp')
-rw-r--r--Swiften/FileTransfer/FileTransfer.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/Swiften/FileTransfer/FileTransfer.cpp b/Swiften/FileTransfer/FileTransfer.cpp
new file mode 100644
index 0000000..c11e8e4
--- /dev/null
+++ b/Swiften/FileTransfer/FileTransfer.cpp
@@ -0,0 +1,20 @@
+/*
+ * Copyright (c) 2013 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() {
+}
+
+FileTransfer::~FileTransfer() {
+}
+
+void FileTransfer::setFileInfo(const std::string& name, boost::uintmax_t size) {
+ filename = name;
+ fileSizeInBytes = size;
+}