Files @ 0a78acefef91
Branch filter:

Location: libtransport.git/include/Swiften/Parser/PayloadParsers/AttentionParser.h

himselfv
Carbons (#267)

Forward own messages from legacy network

* requires XEP-280/XEP-297 enabled client and XEP-0356 enabled server
* closes #265
/*
 * Copyright (c) 2011 Jan Kaluza
 * Licensed under the Simplified BSD license.
 * See Documentation/Licenses/BSD-simplified.txt for more information.
 */

#pragma once

#include <Swiften/Elements/AttentionPayload.h>
#include <Swiften/Parser/GenericPayloadParser.h>

namespace Swift {
	class AttentionParser : public GenericPayloadParser<AttentionPayload> {
		public:
			AttentionParser();

			virtual void handleStartElement(const std::string& element, const std::string&, const AttributeMap& attributes);
			virtual void handleEndElement(const std::string& element, const std::string&);
			virtual void handleCharacterData(const std::string& data);

// 		private:
// 			int level_;
	};
}