summaryrefslogtreecommitdiffstats
blob: c55ddbaabf0e028cbb9e3794f00bb4171229e708 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef SWIFTEN_CHATWINDOWFACTORY_H
#define SWIFTEN_CHATWINDOWFACTORY_H

#include "Swiften/JID/JID.h"

namespace Swift {
	class ChatWindow;

	class ChatWindowFactory {
		public:
			virtual ~ChatWindowFactory() {};
			/**
			 * Transfers ownership of result.
			 */
			virtual ChatWindow* createChatWindow(const JID &contact) = 0;

	};
}
#endif