summaryrefslogtreecommitdiffstats
blob: d19c7d0c0fb643ec1fe99ba4d603cc1bd54d3c3f (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& header) = 0;
			virtual void handleElement(boost::shared_ptr<Element>) = 0;
			virtual void handleStreamEnd() = 0;
	};
}

#endif