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

#pragma once

#include <Swiften/Base/API.h>
#include <Swiften/Elements/CarbonsDisable.h>
#include <Swiften/Parser/GenericPayloadParser.h>

namespace Swift {
	class SWIFTEN_API CarbonsDisableParser : public GenericPayloadParser<CarbonsDisable> {
		public:
			CarbonsDisableParser();
			virtual ~CarbonsDisableParser();

			virtual void handleStartElement(const std::string&, const std::string&, const AttributeMap&);
			virtual void handleEndElement(const std::string&, const std::string&);
			virtual void handleCharacterData(const std::string&);
	};
}