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

#include <boost/shared_ptr.hpp>

#include "Swiften/Elements/Element.h"

namespace Swift {
	class String;

	class XMPPParserClient {
		public:
			virtual ~XMPPParserClient();

			virtual void handleStreamStart(const String& from, const String& to, const String& id) = 0;
			virtual void handleElement(boost::shared_ptr<Element>) = 0;
			virtual void handleStreamEnd() = 0;
	};
}

#endif