summaryrefslogtreecommitdiffstats
blob: 24af640e1411eafad2ede63c4989e7211dbddb8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
 * Copyright (c) 2015 Isode Limited.
 * All rights reserved.
 * See the COPYING file for more information.
 */

#pragma once

#include <boost/shared_ptr.hpp>

#include <Swiften/JID/JID.h>

#include <Swift/Controllers/XMPPEvents/StanzaEvent.h>

namespace Swift {
	class IncomingFileTransferEvent : public StanzaEvent {
		public:
			typedef boost::shared_ptr<IncomingFileTransferEvent> ref;

			IncomingFileTransferEvent(const JID& sender) : sender_(sender) {}

			const JID& getSender() const {
				return sender_;
			}

		private:
			JID sender_;
	};
}